Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0007421/0.0007421, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.00175, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006705/0.0006705, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008296/0.0015, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.95/0.95, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08346/1.033, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.106e-05, allocations: 6.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01249/0.0125, allocations: 6.396 MB / 251.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.01572, allocations: 2.445 MB / 253.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.01598, allocations: 23.88 kB / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.01643, allocations: 369.6 kB / 254.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.01706, allocations: 0.5546 MB / 254.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.01751, allocations: 451.2 kB / 255.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009167/0.01843, allocations: 1.607 MB / 256.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.01881, allocations: 346 kB / 257.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.01957, allocations: 1.016 MB / 258.2 MB, free: 396 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.02003, allocations: 0.5298 MB / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.02016, allocations: 156 kB / 258.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.02041, allocations: 191.9 kB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.0206, allocations: 255.2 kB / 259.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.0209, allocations: 399.3 kB / 259.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.02189, allocations: 0.9654 MB / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.02191, allocations: 0 / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02191, allocations: 0 / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.02192, allocations: 0 / 260.7 MB, free: 13.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001383/0.02331, allocations: 1.675 MB / 262.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.02333, allocations: 16.62 kB / 262.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.02364, allocations: 269.9 kB / 262.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.0241, allocations: 477.5 kB / 263.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.02415, allocations: 74.38 kB / 263.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.02423, allocations: 111.9 kB / 263.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.02483, allocations: 0.7239 MB / 264 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.02485, allocations: 7.953 kB / 264 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.0249, allocations: 40 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.02491, allocations: 24 kB / 264.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.02523, allocations: 275.9 kB / 264.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.0273, allocations: 2.107 MB / 266.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.02791, allocations: 380.6 kB / 266.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.02804, allocations: 138.5 kB / 266.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.02807, allocations: 19.98 kB / 267 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.02809, allocations: 42.5 kB / 267 MB, free: 7.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.482e-06/0.02809, allocations: 0 / 267 MB, free: 7.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001302/0.02939, allocations: 0.8271 MB / 267.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.02943, allocations: 89.05 kB / 267.9 MB, free: 6.398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.02987, allocations: 0.6886 MB / 268.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.02989, allocations: 37.7 kB / 268.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.03007, allocations: 493.4 kB / 269.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.03017, allocations: 241.9 kB / 269.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.03031, allocations: 158.5 kB / 269.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.03042, allocations: 410.5 kB / 269.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.03053, allocations: 81.95 kB / 270 MB, free: 4.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.03072, allocations: 287.2 kB / 270.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.03105, allocations: 436 kB / 270.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.03105, allocations: 0 / 270.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0004492/0.0315, allocations: 464.1 kB / 271.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.03151, allocations: 8 kB / 271.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.03152, allocations: 8.062 kB / 271.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.03153, allocations: 12 kB / 271.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.03209, allocations: 291.5 kB / 271.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.0321, allocations: 19.92 kB / 271.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.03234, allocations: 35.98 kB / 271.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.03238, allocations: 31.98 kB / 271.6 MB, free: 2.562 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.03252, allocations: 160.4 kB / 271.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.0326, allocations: 79.86 kB / 271.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.0328, allocations: 193.5 kB / 272 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.0328, allocations: 11.98 kB / 272 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03281, allocations: 3.938 kB / 272 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.03281, allocations: 0 / 272 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.034, allocations: 1.196 MB / 273.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.034, allocations: 8 kB / 273.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.0344, allocations: 204 kB / 273.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.03448, allocations: 87.38 kB / 273.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.03448, allocations: 12 kB / 273.5 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.03451, allocations: 20 kB / 273.5 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.03451, allocations: 15.92 kB / 273.5 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.03452, allocations: 11.94 kB / 273.5 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.03516, allocations: 0.6394 MB / 274.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.03522, allocations: 28 kB / 274.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.03546, allocations: 35.97 kB / 274.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.03552, allocations: 67.77 kB / 274.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.03554, allocations: 20 kB / 274.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.03577, allocations: 343.3 kB / 274.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03577, allocations: 0 / 274.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.03616, allocations: 215.9 kB / 274.9 MB, free: 15.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009229/0.03708, allocations: 0.4962 MB / 275.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.03743, allocations: 378.1 kB / 275.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.03745, allocations: 12.5 kB / 275.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.03759, allocations: 176.7 kB / 275.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.03817, allocations: 295.6 kB / 276.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.04137, allocations: 1.815 MB / 278 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.04148, allocations: 184.8 kB / 278.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.04174, allocations: 114.7 kB / 278.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.04204, allocations: 237.2 kB / 278.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.04204, allocations: 0 / 278.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of Templates: time 0.1021/0.1441, allocations: 11.83 MB / 290.4 MB, free: 35.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.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.8086588447913527]