Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 109.1 kB / 21.21 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.84 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2797, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008394/0.2881, allocations: 5.701 MB / 437.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.2919, allocations: 1.835 MB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.2925, allocations: 23.88 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.2931, allocations: 214.1 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000956/0.2941, allocations: 420.7 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.2948, allocations: 383.5 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.2965, allocations: 1.506 MB / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.2971, allocations: 353.9 kB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007845/0.2979, allocations: 0.5645 MB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.2986, allocations: 0.6107 MB / 443.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.2988, allocations: 160 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2991, allocations: 164 kB / 443.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.2994, allocations: 315 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.2999, allocations: 0.5368 MB / 444.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.302, allocations: 1.907 MB / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.302, allocations: 0 / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.302, allocations: 0 / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.302, allocations: 0 / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002907/0.3049, allocations: 1.392 MB / 448 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.305, allocations: 8.031 kB / 448 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.516e-05/0.305, allocations: 26.19 kB / 448 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.3052, allocations: 152.4 kB / 448.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.3057, allocations: 160.1 kB / 448.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3069, allocations: 0.6341 MB / 448.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.307, allocations: 81.94 kB / 449 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.3072, allocations: 99.94 kB / 449.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3091, allocations: 1.024 MB / 450.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.3091, allocations: 11.94 kB / 450.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.3092, allocations: 36 kB / 450.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.3092, allocations: 24 kB / 450.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3108, allocations: 0.7977 MB / 451 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.3162, allocations: 2.84 MB / 453.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.3176, allocations: 0.7627 MB / 454.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.3183, allocations: 407.4 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.3184, allocations: 20.48 kB / 455 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3184, allocations: 43.69 kB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.416e-06/0.3184, allocations: 0 / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009042/0.3275, allocations: 3.81 MB / 458.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.3275, allocations: 93.7 kB / 459 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3286, allocations: 0.6369 MB / 459.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/0.3287, allocations: 45.7 kB / 459.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.3291, allocations: 449.1 kB / 460.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.3295, allocations: 428.3 kB / 460.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.3298, allocations: 186.9 kB / 460.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.3301, allocations: 398.7 kB / 461.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.3308, allocations: 350.5 kB / 461.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.3317, allocations: 492.6 kB / 461.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.3332, allocations: 0.8471 MB / 462.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.3332, allocations: 4 kB / 462.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002337/0.3356, allocations: 1.142 MB / 463.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3356, allocations: 4 kB / 463.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3356, allocations: 4 kB / 463.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.336, allocations: 138.6 kB / 464 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3371, allocations: 247.6 kB / 464.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.3415, allocations: 4.631 MB / 468.9 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.3423, allocations: 39.97 kB / 468.9 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.3424, allocations: 39.98 kB / 469 MB, free: 0.5156 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005338/0.343, allocations: 285.7 kB / 469.3 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.3432, allocations: 103.3 kB / 469.4 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3448, allocations: 0.7377 MB / 470.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3448, allocations: 12 kB / 470.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.3448, allocations: 8 kB / 470.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.3448, allocations: 7.922 kB / 470.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.349, allocations: 2.292 MB / 472.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.349, allocations: 0 / 472.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.3499, allocations: 191.8 kB / 472.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.3504, allocations: 159.3 kB / 472.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.3505, allocations: 27.98 kB / 472.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00526/0.3557, allocations: 5.553 MB / 478.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.3558, allocations: 4.281 kB / 478.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.359, allocations: 1.662 MB / 480 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.3596, allocations: 179.3 kB / 480.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3597, allocations: 28.12 kB / 480.2 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.3603, allocations: 39.92 kB / 480.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.3605, allocations: 80.5 kB / 480.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.3606, allocations: 35.98 kB / 480.4 MB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007473/0.3613, allocations: 455.1 kB / 480.8 MB, free: 4.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3613, allocations: 3.938 kB / 480.8 MB, free: 4.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001112/0.3624, allocations: 260 kB / 481.1 MB, free: 3.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003316/0.3658, allocations: 2.258 MB / 483.3 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.3681, allocations: 1.219 MB / 484.5 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3681, allocations: 0 / 484.5 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.3697, allocations: 0.9439 MB / 485.5 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3709, allocations: 204 kB / 485.7 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.3852, allocations: 8.206 MB / 493.9 MB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.3858, allocations: 458.5 kB / 494.3 MB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.3863, allocations: 128 kB / 494.5 MB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.3869, allocations: 399.3 kB / 494.9 MB, free: 5.648 MB / 398.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3869, allocations: 0 / 494.9 MB, free: 5.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06468/0.4516, allocations: 23.12 MB / 0.5058 GB, free: 14.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.05, allocations: 3.984 kB / 0.5058 GB, free: 14.8 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=1e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.201652292977087]