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.001312/0.001312, 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.001453/0.001453, allocations: 165.7 kB / 25.33 MB, free: 8.582 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.9551/0.9551, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.633e-06/1.633e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.373e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005552/0.005576, allocations: 6.254 MB / 257.3 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.009357, allocations: 2.124 MB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.01006, allocations: 23.88 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.01088, allocations: 353.7 kB / 259.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.01212, allocations: 0.5081 MB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.01287, allocations: 431.2 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.01436, allocations: 1.588 MB / 262.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.01484, allocations: 329.9 kB / 262.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.016, allocations: 0.8889 MB / 263.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.01673, allocations: 0.5298 MB / 264.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.017, allocations: 156 kB / 264.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.01736, allocations: 183.9 kB / 264.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.01758, allocations: 330.9 kB / 264.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.01794, allocations: 462.9 kB / 265.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.01884, allocations: 1.012 MB / 266.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.01885, allocations: 0 / 266.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01885, allocations: 0 / 266.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.01886, allocations: 0 / 266.2 MB, free: 8.305 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.001627/0.02049, allocations: 1.531 MB / 267.7 MB, free: 6.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.02053, allocations: 16.03 kB / 267.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.02074, allocations: 212.1 kB / 267.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.02139, allocations: 0.6435 MB / 268.6 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.02144, allocations: 70.38 kB / 268.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.02153, allocations: 96.38 kB / 268.7 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.02253, allocations: 0.7888 MB / 269.5 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.02256, allocations: 15.81 kB / 269.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.02261, allocations: 40 kB / 269.6 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.02263, allocations: 28 kB / 269.6 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.02327, allocations: 413.5 kB / 270 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.02616, allocations: 2.777 MB / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.02709, allocations: 0.49 MB / 273.3 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.02733, allocations: 187.7 kB / 273.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.02737, allocations: 15.94 kB / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.0274, allocations: 41.39 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 2.435e-06/0.0274, allocations: 3.938 kB / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.00169/0.02909, allocations: 1.164 MB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.02913, allocations: 89.11 kB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.02973, allocations: 0.7375 MB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.02976, allocations: 41.7 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.03003, allocations: 0.5962 MB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.03015, allocations: 241.9 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.03031, allocations: 164.2 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.03048, allocations: 0.5742 MB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.0307, allocations: 129.9 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.03103, allocations: 382.8 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.03156, allocations: 0.5312 MB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.03156, allocations: 0 / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007701/0.03233, allocations: 0.6448 MB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.03235, allocations: 4 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.03236, allocations: 8 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.03238, allocations: 8.688 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.03293, allocations: 251.6 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.03295, allocations: 15.88 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.03322, allocations: 43.97 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.03326, allocations: 39.98 kB / 279.2 MB, free: 10.78 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 (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 (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.0001909/0.03346, allocations: 208.5 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.03356, allocations: 111.4 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.03386, allocations: 241.1 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.03387, allocations: 8 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.03388, allocations: 7.922 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.03388, allocations: 0 / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.03568, allocations: 1.713 MB / 281.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.03568, allocations: 8 kB / 281.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.03605, allocations: 175.7 kB / 281.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.03606, allocations: 15.98 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.03609, allocations: 16 kB / 281.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.0361, allocations: 15.98 kB / 281.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.0361, allocations: 11.94 kB / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.03681, allocations: 0.9444 MB / 282.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.03691, allocations: 103.4 kB / 282.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.03697, allocations: 19.98 kB / 282.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.03723, allocations: 39.98 kB / 282.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.03732, allocations: 71.72 kB / 282.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.03735, allocations: 24 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.03772, allocations: 482.9 kB / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03772, allocations: 0 / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.03822, allocations: 208 kB / 283.5 MB, free: 6.074 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.0007733/0.03899, allocations: 351.7 kB / 283.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.0396, allocations: 437.9 kB / 284.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.0396, allocations: 0 / 284.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.03984, allocations: 200.9 kB / 284.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.04052, allocations: 212.2 kB / 284.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.04265, allocations: 1.752 MB / 286.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.04278, allocations: 180.6 kB / 286.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.0431, allocations: 110.4 kB / 286.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.04325, allocations: 72.47 kB / 286.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.04325, allocations: 0 / 286.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of Templates: time 0.01441/0.05766, allocations: 10.83 MB / 297.6 MB, free: 7.809 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 -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: 3.099605947267264]