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.0009614/0.0009614, allocations: 79.75 kB / 22.45 MB, free: 2.098 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.001238/0.001238, allocations: 169.8 kB / 25.75 MB, free: 8.598 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.9656/0.9656, allocations: 158.6 MB / 187.5 MB, free: 2.941 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.853e-06/1.853e-06, allocations: 3.938 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.941e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006162/0.006191, allocations: 6.231 MB / 257.3 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.01004, allocations: 2.116 MB / 259.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.01088, allocations: 19.94 kB / 259.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.0117, allocations: 357.6 kB / 259.8 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.01281, allocations: 0.4965 MB / 260.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.01361, allocations: 439.2 kB / 260.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.0152, allocations: 1.584 MB / 262.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.01565, allocations: 333.8 kB / 262.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.01668, allocations: 0.8733 MB / 263.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.01723, allocations: 0.5532 MB / 264.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.01738, allocations: 160 kB / 264.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.0176, allocations: 187.9 kB / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.01783, allocations: 334.9 kB / 264.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.0182, allocations: 470.9 kB / 265.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01922, allocations: 1.032 MB / 266.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01923, allocations: 4 kB / 266.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.01923, allocations: 0 / 266.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.01925, allocations: 0 / 266.2 MB, free: 8.578 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.002126/0.02138, allocations: 1.554 MB / 267.8 MB, free: 6.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.02142, allocations: 8.031 kB / 267.8 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.02165, allocations: 208.1 kB / 268 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.0225, allocations: 0.6727 MB / 268.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.02256, allocations: 74.38 kB / 268.8 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02266, allocations: 104.3 kB / 268.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.02371, allocations: 0.781 MB / 269.6 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.02374, allocations: 7.938 kB / 269.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.0238, allocations: 40 kB / 269.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.02382, allocations: 35.94 kB / 269.7 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.02451, allocations: 413.5 kB / 270.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.02769, allocations: 2.769 MB / 272.9 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.02872, allocations: 0.4939 MB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.02936, allocations: 187.6 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.02941, allocations: 15.94 kB / 273.6 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.02945, allocations: 49.31 kB / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 3.036e-06/0.02945, allocations: 0 / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.002046/0.03149, allocations: 1.165 MB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.03154, allocations: 85.11 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.03225, allocations: 0.7413 MB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.0323, allocations: 45.7 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.03262, allocations: 0.6 MB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.03278, allocations: 241.9 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.03295, allocations: 164.2 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.03316, allocations: 0.5701 MB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.03341, allocations: 129.9 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.03378, allocations: 378.9 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.03438, allocations: 0.5273 MB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.03439, allocations: 4 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009248/0.03531, allocations: 0.6372 MB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.03534, allocations: 8 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.03536, allocations: 8 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.03539, allocations: 8 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.03603, allocations: 256.2 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.03605, allocations: 11.94 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.0364, allocations: 43.97 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.03644, allocations: 39.98 kB / 279.3 MB, free: 11.02 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.0002425/0.03668, allocations: 208.5 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.03681, allocations: 107.4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.03719, allocations: 249.1 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.0372, allocations: 8 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.0372, allocations: 3.938 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.03721, allocations: 3.984 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.03979, allocations: 1.713 MB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.03979, allocations: 8 kB / 281.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.04018, allocations: 175.8 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.0402, allocations: 11.98 kB / 281.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.04023, allocations: 24 kB / 281.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.04024, allocations: 19.92 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.04025, allocations: 11.94 kB / 281.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.04105, allocations: 0.9405 MB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.0412, allocations: 103.4 kB / 282.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.04127, allocations: 23.92 kB / 282.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.04155, allocations: 39.98 kB / 282.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.04165, allocations: 63.72 kB / 283 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.04168, allocations: 32 kB / 283 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004244/0.04211, allocations: 478.9 kB / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04211, allocations: 0 / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000595/0.0427, allocations: 208 kB / 283.7 MB, free: 6.301 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.000881/0.04358, allocations: 348 kB / 284 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.04428, allocations: 440.4 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.04429, allocations: 0 / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.04453, allocations: 202.9 kB / 284.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.04525, allocations: 207.5 kB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.04758, allocations: 1.752 MB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.04773, allocations: 184.6 kB / 286.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.04808, allocations: 106.4 kB / 286.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.04823, allocations: 72.47 kB / 286.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.774e-06/0.04823, allocations: 0 / 286.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of Templates: time 0.0151/0.06333, allocations: 10.25 MB / 297.2 MB, free: 8.629 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.0761295091360807]