Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.1 MB, free: 3.484 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.91 kB / 365.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.0111/0.1304, allocations: 6.338 MB / 424.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.1356, allocations: 1.854 MB / 426 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.1366, allocations: 19.94 kB / 426 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007386/0.1373, allocations: 210.1 kB / 426.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1385, allocations: 404.8 kB / 426.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.1394, allocations: 379.5 kB / 427 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.1413, allocations: 1.483 MB / 428.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.1419, allocations: 353.4 kB / 428.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007873/0.1427, allocations: 0.549 MB / 429.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.1435, allocations: 0.5952 MB / 429.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1437, allocations: 164 kB / 430.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1439, allocations: 160 kB / 430.2 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.1442, allocations: 295.1 kB / 430.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007031/0.1449, allocations: 0.6495 MB / 431.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.1471, allocations: 1.853 MB / 433 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1471, allocations: 0 / 433 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1471, allocations: 0 / 433 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.1471, allocations: 0 / 433 MB, free: 13.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003369/0.1505, allocations: 1.476 MB / 434.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.1505, allocations: 8.031 kB / 434.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.1507, allocations: 152.3 kB / 434.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.151, allocations: 124.2 kB / 434.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1524, allocations: 0.6811 MB / 435.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.1525, allocations: 70.38 kB / 435.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1527, allocations: 104.3 kB / 435.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.1547, allocations: 1.009 MB / 436.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.1547, allocations: 0 / 436.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1548, allocations: 47.98 kB / 436.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.1549, allocations: 24 kB / 436.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1568, allocations: 0.8601 MB / 437.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.1624, allocations: 3.306 MB / 440.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.1639, allocations: 0.7792 MB / 441.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.1648, allocations: 436.5 kB / 442.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.1649, allocations: 20.41 kB / 442.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.1649, allocations: 47.11 kB / 442.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.767e-06/0.1649, allocations: 0 / 442.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.2538/0.4187, allocations: 4.316 MB / 446.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4188, allocations: 95.95 kB / 446.6 MB, free: 29.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.4195, allocations: 0.5943 MB / 447.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.4196, allocations: 44.7 kB / 447.2 MB, free: 29.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4198, allocations: 439 kB / 447.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.4201, allocations: 415.7 kB / 448 MB, free: 28.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.4204, allocations: 180 kB / 448.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4205, allocations: 391.9 kB / 448.6 MB, free: 28.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.4212, allocations: 385 kB / 449 MB, free: 28.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.422, allocations: 0.506 MB / 449.5 MB, free: 28.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.4235, allocations: 0.8901 MB / 450.4 MB, free: 28.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4235, allocations: 0 / 450.4 MB, free: 28.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002247/0.4257, allocations: 1.194 MB / 451.6 MB, free: 28.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4257, allocations: 6.031 kB / 451.6 MB, free: 28.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4258, allocations: 4.688 kB / 451.6 MB, free: 28.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.4262, allocations: 131 kB / 451.7 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4272, allocations: 251.9 kB / 451.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.4303, allocations: 4.972 MB / 456.9 MB, free: 23.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.431, allocations: 55.31 kB / 457 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.4311, allocations: 39.17 kB / 457 MB, free: 23.35 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 (128): * Single equations (assignments): 125 * 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.0004797/0.4316, allocations: 279.4 kB / 457.3 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.4318, allocations: 91.69 kB / 457.4 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.4335, allocations: 0.7653 MB / 458.1 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4335, allocations: 12.03 kB / 458.2 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.4336, allocations: 2.906 kB / 458.2 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.4336, allocations: 6.859 kB / 458.2 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.4378, allocations: 2.646 MB / 460.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4378, allocations: 1.281 kB / 460.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009467/0.4388, allocations: 206.6 kB / 461 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.4392, allocations: 162 kB / 461.2 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.4393, allocations: 30.83 kB / 461.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.4429, allocations: 5.983 MB / 467.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4429, allocations: 3.156 kB / 467.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.4461, allocations: 1.748 MB / 468.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4463, allocations: 165.2 kB / 469.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4464, allocations: 23.73 kB / 469.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.447, allocations: 50.03 kB / 469.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.4472, allocations: 88.33 kB / 469.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.4473, allocations: 33.55 kB / 469.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006932/0.448, allocations: 438.5 kB / 469.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.448, allocations: 0 / 469.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4491, allocations: 255.5 kB / 470 MB, free: 14.01 MB / 366.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 (104): * Single equations (assignments): 100 * 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.003356/0.4524, allocations: 2.325 MB / 472.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.4551, allocations: 1.288 MB / 473.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4551, allocations: 0 / 473.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.4565, allocations: 0.9655 MB / 474.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.4575, allocations: 183.6 kB / 474.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.4712, allocations: 8.204 MB / 482.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.4718, allocations: 1.026 MB / 484 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006391/0.4725, allocations: 123.3 kB / 484.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.473, allocations: 395.2 kB / 484.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.473, allocations: 0 / 484.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.5359, allocations: 20.91 MB / 0.4935 GB, free: 4.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.29, allocations: 15.62 kB / 0.4935 GB, free: 4.551 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=9.94036e-06 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.255157035775483]