Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.0009726/0.0009726, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001711/0.001711, allocations: 163.9 kB / 25.7 MB, free: 8.445 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 1.013/1.013, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.899e-05, allocations: 10.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005976/0.005995, allocations: 6.173 MB / 257.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.01007, allocations: 2.186 MB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.01055, allocations: 23.88 kB / 260 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.01126, allocations: 353.6 kB / 260.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.01217, allocations: 0.5041 MB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007385/0.01291, allocations: 435.3 kB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.0143, allocations: 1.584 MB / 262.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.01476, allocations: 345.9 kB / 263.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.01568, allocations: 0.8849 MB / 264 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.01628, allocations: 0.5259 MB / 264.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.01645, allocations: 156 kB / 264.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.01666, allocations: 187.9 kB / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.01686, allocations: 326.9 kB / 265.2 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.01719, allocations: 462.9 kB / 265.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.01816, allocations: 1.004 MB / 266.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01817, allocations: 0 / 266.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01817, allocations: 4 kB / 266.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.01819, allocations: 0 / 266.7 MB, free: 8.016 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001866/0.02005, allocations: 1.41 MB / 268.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.0201, allocations: 8.031 kB / 268.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.02031, allocations: 168.8 kB / 268.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.02101, allocations: 465.6 kB / 268.7 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.02107, allocations: 74.38 kB / 268.8 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.02117, allocations: 92.38 kB / 268.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.02195, allocations: 0.7401 MB / 269.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.02198, allocations: 19.81 kB / 269.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.02203, allocations: 40 kB / 269.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.02204, allocations: 24 kB / 269.7 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.02243, allocations: 276 kB / 270 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.02491, allocations: 2.088 MB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.02569, allocations: 436.6 kB / 272.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.02587, allocations: 149.6 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.02591, allocations: 11.98 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.02594, allocations: 42.88 kB / 272.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 3.987e-06/0.02594, allocations: 3.938 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001406/0.02735, allocations: 0.8345 MB / 273.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.02739, allocations: 85.11 kB / 273.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.02792, allocations: 0.6497 MB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.02795, allocations: 37.7 kB / 274.3 MB, free: 156 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.02821, allocations: 469.6 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.02835, allocations: 245.9 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.02852, allocations: 158.5 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.02867, allocations: 398.6 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.0288, allocations: 85.95 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.02905, allocations: 290.8 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.02949, allocations: 434.7 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02949, allocations: 0 / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0005493/0.03004, allocations: 450.1 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.03006, allocations: 7.984 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03007, allocations: 11.94 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.0301, allocations: 11.98 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.03072, allocations: 276.1 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.03073, allocations: 8 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.031, allocations: 47.97 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.03103, allocations: 27.98 kB / 277.1 MB, free: 13.11 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 (108): * Single equations (assignments): 108 * 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.0002004/0.03123, allocations: 172.4 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.03134, allocations: 75.92 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.0316, allocations: 201.2 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.03161, allocations: 4 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.03161, allocations: 0 / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.03162, allocations: 7.984 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.03313, allocations: 1.179 MB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.03314, allocations: 12.19 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.03354, allocations: 191.7 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.03354, allocations: 11.94 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.03358, allocations: 27.98 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.03359, allocations: 15.94 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.03359, allocations: 15.94 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.03412, allocations: 0.6356 MB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.03421, allocations: 83.41 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.03428, allocations: 20 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.03451, allocations: 43.91 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.0346, allocations: 63.78 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.03463, allocations: 24 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.03491, allocations: 315.4 kB / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03491, allocations: 0 / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005064/0.03542, allocations: 204 kB / 280.4 MB, free: 9.609 MB / 266.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.001091/0.03651, allocations: 458.9 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.03699, allocations: 378.2 kB / 281.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.999e-05/0.03701, allocations: 12.5 kB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.0372, allocations: 172 kB / 281.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.03789, allocations: 211.1 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.04015, allocations: 1.687 MB / 283.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.0403, allocations: 180.6 kB / 283.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.04063, allocations: 106.4 kB / 283.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.04097, allocations: 225.2 kB / 283.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.04097, allocations: 0 / 283.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of Templates: time 0.01586/0.05683, allocations: 10.94 MB / 294.7 MB, free: 11.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.882232577074319]