Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 168.6 kB / 25.7 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9676/0.9676, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.556e-05, allocations: 6.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007706/0.007731, allocations: 6.064 MB / 257.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.01206, allocations: 1.92 MB / 259.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006045/0.01266, allocations: 23.88 kB / 259.6 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.0133, allocations: 210.1 kB / 259.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.01413, allocations: 428.5 kB / 260.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.01467, allocations: 383.4 kB / 260.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01584, allocations: 1.525 MB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.01629, allocations: 341.8 kB / 262.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.01721, allocations: 0.8421 MB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.01765, allocations: 482.6 kB / 263.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.01789, allocations: 156 kB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.01802, allocations: 152 kB / 264 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01817, allocations: 303 kB / 264.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.01847, allocations: 459 kB / 264.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.01921, allocations: 0.946 MB / 265.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01921, allocations: 0 / 265.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.01921, allocations: 7.922 kB / 265.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.01922, allocations: 0 / 265.7 MB, free: 8.953 MB / 250.7 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.001383/0.0206, allocations: 1.309 MB / 267.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.02064, allocations: 15.98 kB / 267.1 MB, free: 7.602 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.02079, allocations: 156.8 kB / 267.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.0213, allocations: 433 kB / 267.6 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.02135, allocations: 74.38 kB / 267.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.02145, allocations: 100.3 kB / 267.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.02223, allocations: 0.7439 MB / 268.6 MB, free: 6.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.02226, allocations: 4.172 kB / 268.6 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.02231, allocations: 40.38 kB / 268.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.02233, allocations: 27.94 kB / 268.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.02271, allocations: 280 kB / 268.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.02501, allocations: 1.96 MB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.02559, allocations: 451.5 kB / 271.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.0258, allocations: 202.9 kB / 271.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.02583, allocations: 20.48 kB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.02587, allocations: 43.06 kB / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=90): time 3.928e-06/0.02587, allocations: 0 / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=113): time 0.003776/0.02965, allocations: 2.522 MB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.02969, allocations: 97.7 kB / 274.2 MB, free: 216 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.03003, allocations: 467.1 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.03009, allocations: 45.7 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.03025, allocations: 378.2 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.03044, allocations: 404.4 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.03062, allocations: 182.9 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.03075, allocations: 398.6 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.0309, allocations: 114.6 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.03112, allocations: 257.1 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.03155, allocations: 473.4 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.03155, allocations: 0 / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006613/0.03222, allocations: 0.5734 MB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.03224, allocations: 8 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.03225, allocations: 4 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.03253, allocations: 114.8 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.03313, allocations: 275.6 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.03524, allocations: 4.062 MB / 281.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.0355, allocations: 43.98 kB / 281.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.03554, allocations: 31.92 kB / 281.9 MB, free: 8.055 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * 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.0001917/0.03573, allocations: 173.7 kB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.03584, allocations: 95.84 kB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.03636, allocations: 438.6 kB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.03637, allocations: 8 kB / 282.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.03638, allocations: 12 kB / 282.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.03639, allocations: 3.984 kB / 282.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.03787, allocations: 1.282 MB / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.03787, allocations: 0 / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.03834, allocations: 227.2 kB / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.03866, allocations: 147.3 kB / 284.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.03869, allocations: 27.98 kB / 284.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.04083, allocations: 4.865 MB / 289.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.04084, allocations: 3.938 kB / 289.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.04168, allocations: 0.8935 MB / 290.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.04174, allocations: 71.44 kB / 290.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.0418, allocations: 20 kB / 290.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.04205, allocations: 43.97 kB / 290.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.04218, allocations: 80.44 kB / 290.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.04222, allocations: 27.98 kB / 290.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.04238, allocations: 208.4 kB / 290.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04238, allocations: 0 / 290.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.04291, allocations: 252 kB / 290.8 MB, free: 14.74 MB / 282.7 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 (102): * Single equations (assignments): 98 * 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.000143/0.04305, allocations: 116.4 kB / 290.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.04382, allocations: 0.8729 MB / 291.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.04383, allocations: 8 kB / 291.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.04433, allocations: 0.7701 MB / 292.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.04485, allocations: 190.4 kB / 292.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.04685, allocations: 1.718 MB / 294.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.047, allocations: 198.8 kB / 294.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.0473, allocations: 111.3 kB / 294.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.04764, allocations: 241.2 kB / 295 MB, free: 10.37 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.04764, allocations: 0 / 295 MB, free: 10.37 MB / 282.7 MB Notification: Performance of Templates: time 0.0164/0.06404, allocations: 13.2 MB / 308.2 MB, free: 13.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.982526060193777]