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.001373/0.001373, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001471/0.001471, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.405/1.405, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 43.92 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2391, allocations: 52.19 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007526/0.2466, allocations: 5.612 MB / 429.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.2497, allocations: 1.768 MB / 431.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.2501, allocations: 23.88 kB / 431.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2506, allocations: 206.1 kB / 431.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.2514, allocations: 404.8 kB / 431.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.2521, allocations: 371.6 kB / 432.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2536, allocations: 1.491 MB / 433.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.2541, allocations: 321.8 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.2547, allocations: 0.5607 MB / 434.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.2554, allocations: 0.5171 MB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.2556, allocations: 160 kB / 435.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2558, allocations: 160 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.2561, allocations: 303 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.2566, allocations: 0.5291 MB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.2583, allocations: 1.864 MB / 438.1 MB, free: 176 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2583, allocations: 4 kB / 438.1 MB, free: 172 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2583, allocations: 0 / 438.1 MB, free: 172 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.2583, allocations: 3.938 kB / 438.1 MB, free: 168 kB / 334.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.002953/0.2613, allocations: 1.393 MB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2613, allocations: 8.031 kB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.2615, allocations: 124.2 kB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2628, allocations: 0.6194 MB / 440.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.2628, allocations: 74.38 kB / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.263, allocations: 100.3 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2649, allocations: 1.06 MB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.265, allocations: 7.984 kB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.265, allocations: 36 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.2651, allocations: 24 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.267, allocations: 0.864 MB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/0.2718, allocations: 2.711 MB / 445.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.2733, allocations: 0.7739 MB / 445.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/0.2742, allocations: 431.6 kB / 446.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.2742, allocations: 20.36 kB / 446.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.2743, allocations: 39.06 kB / 446.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.675e-06/0.2743, allocations: 0 / 446.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.009492/0.2838, allocations: 3.942 MB / 450.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.2838, allocations: 89.77 kB / 450.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.2845, allocations: 0.5534 MB / 450.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.2846, allocations: 45.7 kB / 451 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.2849, allocations: 449 kB / 451.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.2853, allocations: 408.4 kB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.2856, allocations: 190.9 kB / 452 MB, free: 1.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2858, allocations: 386.8 kB / 452.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.2866, allocations: 378.4 kB / 452.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009667/0.2876, allocations: 0.5081 MB / 453.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.2894, allocations: 0.8888 MB / 454.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2894, allocations: 0 / 454.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002436/0.2919, allocations: 1.185 MB / 455.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.2919, allocations: 10.5 kB / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2919, allocations: 4 kB / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.2923, allocations: 126.5 kB / 455.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.2934, allocations: 251.7 kB / 455.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.2975, allocations: 4.579 MB / 460.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.2982, allocations: 47.97 kB / 460.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.2983, allocations: 39.98 kB / 460.4 MB, free: 9.102 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.000477/0.2988, allocations: 275.8 kB / 460.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2989, allocations: 91.42 kB / 460.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3006, allocations: 0.7601 MB / 461.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3006, allocations: 15.98 kB / 461.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3006, allocations: 4 kB / 461.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3006, allocations: 11.95 kB / 461.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.3048, allocations: 2.206 MB / 463.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3048, allocations: 4 kB / 463.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/0.3058, allocations: 211.7 kB / 463.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.3062, allocations: 155.3 kB / 464.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.3063, allocations: 27.98 kB / 464.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/0.3108, allocations: 5.473 MB / 469.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3108, allocations: 4.031 kB / 469.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.3142, allocations: 1.735 MB / 471.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.3144, allocations: 79.52 kB / 471.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3145, allocations: 24 kB / 471.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.3151, allocations: 47.97 kB / 471.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3153, allocations: 88.44 kB / 471.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.3153, allocations: 27.98 kB / 471.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005353/0.3158, allocations: 398.8 kB / 472 MB, free: 12.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 0 / 472 MB, free: 12.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009097/0.3168, allocations: 252 kB / 472.2 MB, free: 12.71 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 (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.0002012/0.317, allocations: 131.2 kB / 472.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.3194, allocations: 1.303 MB / 473.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3195, allocations: 0 / 473.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.321, allocations: 0.9674 MB / 474.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.322, allocations: 187.1 kB / 474.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.3259, allocations: 2.192 MB / 477 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3264, allocations: 436.7 kB / 477.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.3267, allocations: 83.41 kB / 477.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3267, allocations: 0 / 477.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of Templates: time 0.03339/0.3601, allocations: 29.47 MB / 0.4951 GB, free: 9.785 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.441262862179428]