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.001447/0.001447, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001458/0.001458, allocations: 210.7 kB / 24.52 MB, free: 4.098 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.001842/0.001842, allocations: 63.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3211, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009062/0.3302, allocations: 6.482 MB / 438.5 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.3344, allocations: 1.925 MB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.335, allocations: 19.94 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.3357, allocations: 222 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.3367, allocations: 428.7 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.3375, allocations: 375.5 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.3392, allocations: 1.507 MB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.3398, allocations: 349.6 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008378/0.3406, allocations: 0.5723 MB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.3415, allocations: 0.6146 MB / 444.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.3417, allocations: 156 kB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.3419, allocations: 172 kB / 444.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.3422, allocations: 311 kB / 445.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.3429, allocations: 0.6611 MB / 445.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.3451, allocations: 1.889 MB / 447.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3451, allocations: 4 kB / 447.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3451, allocations: 0 / 447.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.3451, allocations: 0 / 447.6 MB, free: 6.961 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.003272/0.3484, allocations: 1.392 MB / 449 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.3485, allocations: 12.03 kB / 449 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.373e-05/0.3485, allocations: 22.19 kB / 449 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.3487, allocations: 152.4 kB / 449.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.3493, allocations: 156.1 kB / 449.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.3507, allocations: 0.638 MB / 450 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.3508, allocations: 74 kB / 450.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.351, allocations: 100 kB / 450.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.3528, allocations: 0.9779 MB / 451.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.3529, allocations: 3.953 kB / 451.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/0.353, allocations: 40 kB / 451.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.353, allocations: 24 kB / 451.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.3546, allocations: 0.7977 MB / 452 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.36, allocations: 3.248 MB / 455.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.3614, allocations: 0.7752 MB / 456 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.3621, allocations: 402.2 kB / 456.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/0.3622, allocations: 20.48 kB / 456.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.3623, allocations: 39.69 kB / 456.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.3623, allocations: 0 / 456.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009291/0.3715, allocations: 3.832 MB / 460.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.3716, allocations: 89.77 kB / 460.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3726, allocations: 0.6369 MB / 461 MB, free: 9.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.3727, allocations: 45.7 kB / 461.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.3731, allocations: 453 kB / 461.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.3735, allocations: 420.4 kB / 461.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.3738, allocations: 194.9 kB / 462.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.374, allocations: 394.7 kB / 462.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.3748, allocations: 346.5 kB / 462.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.3756, allocations: 484.7 kB / 463.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3771, allocations: 0.851 MB / 464.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3771, allocations: 0 / 464.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00221/0.3793, allocations: 1.154 MB / 465.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.3793, allocations: 8 kB / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3793, allocations: 0 / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.3798, allocations: 138.4 kB / 465.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.3808, allocations: 235.7 kB / 465.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.3853, allocations: 4.666 MB / 470.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.386, allocations: 35.98 kB / 470.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/0.3861, allocations: 36 kB / 470.4 MB, free: 15.34 MB / 382.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.0005368/0.3866, allocations: 289.6 kB / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.3868, allocations: 99.33 kB / 470.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3884, allocations: 0.7414 MB / 471.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3884, allocations: 12 kB / 471.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3884, allocations: 0 / 471.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.3884, allocations: 11.92 kB / 471.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.3929, allocations: 2.575 MB / 474.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3929, allocations: 0 / 474.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.3938, allocations: 195.8 kB / 474.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.3943, allocations: 159.3 kB / 474.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.3944, allocations: 27.98 kB / 474.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/0.3997, allocations: 5.58 MB / 480.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3997, allocations: 0 / 480.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.4027, allocations: 1.662 MB / 481.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.4032, allocations: 183.3 kB / 481.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4033, allocations: 27.94 kB / 482 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.4038, allocations: 36.05 kB / 482 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.404, allocations: 80.5 kB / 482.1 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.4041, allocations: 39.98 kB / 482.1 MB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006802/0.4048, allocations: 459.1 kB / 482.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4048, allocations: 0 / 482.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4058, allocations: 260 kB / 482.8 MB, free: 2.305 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.003173/0.4089, allocations: 2.246 MB / 485.1 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.4113, allocations: 1.231 MB / 486.3 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4113, allocations: 0 / 486.3 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.4128, allocations: 0.9438 MB / 487.2 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.414, allocations: 206.4 kB / 487.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.4281, allocations: 8.202 MB / 495.6 MB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/0.4291, allocations: 1.037 MB / 496.7 MB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006699/0.4297, allocations: 124 kB / 496.8 MB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.4304, allocations: 399.3 kB / 497.2 MB, free: 3.543 MB / 398.1 MB Notification: Performance of SimCode: time 1.844e-06/0.4304, allocations: 0 / 497.2 MB, free: 3.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06479/0.4952, allocations: 22.51 MB / 0.5075 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.91, allocations: 10.41 kB / 0.5075 GB, free: 13.24 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.000279453990515]