Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001498/0.001498, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001708/0.001708, allocations: 167.2 kB / 25.33 MB, free: 9.059 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.946/0.946, allocations: 158.6 MB / 187.2 MB, free: 2.473 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 251 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.817e-05, allocations: 9.406 kB / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005305/0.005334, allocations: 4.502 MB / 255.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.008073, allocations: 1.742 MB / 257.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.008469, allocations: 15.88 kB / 257.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007615/0.00923, allocations: 418.1 kB / 257.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000862/0.01009, allocations: 433.4 kB / 258.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.01064, allocations: 303.4 kB / 258.4 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01192, allocations: 1.055 MB / 259.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.01224, allocations: 187.1 kB / 259.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.0131, allocations: 0.5887 MB / 260.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.01373, allocations: 450.9 kB / 260.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.01385, allocations: 92 kB / 260.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.01435, allocations: 123.9 kB / 260.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.01451, allocations: 231.2 kB / 261.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.01476, allocations: 307.2 kB / 261.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.01569, allocations: 0.7006 MB / 262.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.0157, allocations: 0 / 262.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0157, allocations: 0 / 262.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.01572, allocations: 0 / 262.1 MB, free: 8.414 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001692/0.01741, allocations: 1.223 MB / 263.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.01746, allocations: 12.03 kB / 263.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.01766, allocations: 148.3 kB / 263.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.01826, allocations: 0.496 MB / 264 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.01831, allocations: 41.69 kB / 264.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.01839, allocations: 64.36 kB / 264.1 MB, free: 6.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.01917, allocations: 0.5186 MB / 264.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.01919, allocations: 7.875 kB / 264.6 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.01924, allocations: 24 kB / 264.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.01925, allocations: 19.98 kB / 264.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.0197, allocations: 263.7 kB / 264.9 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.02209, allocations: 2.022 MB / 267 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.02258, allocations: 275.1 kB / 267.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.0229, allocations: 177.1 kB / 267.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.02294, allocations: 16.38 kB / 267.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.02297, allocations: 45.83 kB / 267.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.905e-06/0.02297, allocations: 4 kB / 267.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002117/0.02509, allocations: 0.977 MB / 268.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.02512, allocations: 59.84 kB / 268.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.0257, allocations: 0.7142 MB / 269.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.02573, allocations: 37.7 kB / 269.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.02597, allocations: 471.2 kB / 269.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.02608, allocations: 218.1 kB / 269.9 MB, free: 384 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.02622, allocations: 124.3 kB / 270.1 MB, free: 252 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.02641, allocations: 0.5664 MB / 270.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.0266, allocations: 109.9 kB / 270.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.02684, allocations: 231.4 kB / 271 MB, free: 15.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.02725, allocations: 341.2 kB / 271.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.02725, allocations: 4 kB / 271.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006254/0.02788, allocations: 0.4966 MB / 271.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.0279, allocations: 10.64 kB / 271.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.02791, allocations: 4 kB / 271.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.02792, allocations: 4 kB / 271.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.02832, allocations: 164.1 kB / 272 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.02833, allocations: 7.938 kB / 272 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02854, allocations: 31.98 kB / 272 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.02857, allocations: 27.97 kB / 272 MB, free: 14.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0001593/0.02873, allocations: 192.4 kB / 272.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.02883, allocations: 95.53 kB / 272.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.02935, allocations: 409.2 kB / 272.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.02935, allocations: 8 kB / 272.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.02936, allocations: 7.938 kB / 272.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02937, allocations: 3.984 kB / 272.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.03081, allocations: 1.314 MB / 274.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.03082, allocations: 8.031 kB / 274.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.03109, allocations: 123.8 kB / 274.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.0311, allocations: 4 kB / 274.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.03112, allocations: 15.94 kB / 274.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.03113, allocations: 8 kB / 274.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.03113, allocations: 7.875 kB / 274.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/0.03489, allocations: 0.6218 MB / 274.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.03509, allocations: 127.4 kB / 275 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.03516, allocations: 19.98 kB / 275 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.03541, allocations: 31.92 kB / 275 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.0355, allocations: 48.36 kB / 275.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.03553, allocations: 16 kB / 275.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006944/0.03623, allocations: 479 kB / 275.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03623, allocations: 0 / 275.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005179/0.03674, allocations: 151.9 kB / 275.7 MB, free: 10.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0008834/0.03763, allocations: 352.8 kB / 276 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003698/0.04133, allocations: 340.7 kB / 276.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.04133, allocations: 0 / 276.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.04159, allocations: 184.2 kB / 276.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.04226, allocations: 135.1 kB / 276.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.04752, allocations: 1.356 MB / 278 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.04766, allocations: 164.1 kB / 278.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000313/0.04798, allocations: 96.81 kB / 278.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.04813, allocations: 52.48 kB / 278.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04813, allocations: 0 / 278.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of Templates: time 0.02953/0.07765, allocations: 7.936 MB / 286.3 MB, free: 15.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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: 3.0463547920808196]