Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005596/0.005596, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8794/0.8794, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.942e-05, allocations: 4.812 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005401/0.005421, allocations: 5.708 MB / 325.4 MB, free: 88 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.007787, allocations: 2.111 MB / 327.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.008046, allocations: 23.88 kB / 327.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.008567, allocations: 349.7 kB / 327.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.009232, allocations: 0.5042 MB / 328.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.0097, allocations: 449.9 kB / 328.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000981/0.01068, allocations: 1.588 MB / 330.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.01103, allocations: 337.8 kB / 330.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008225/0.01185, allocations: 0.8694 MB / 331.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.01228, allocations: 0.5221 MB / 332.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.0124, allocations: 159.9 kB / 332.3 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.01258, allocations: 192 kB / 332.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.01276, allocations: 330.9 kB / 332.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.01302, allocations: 466.9 kB / 333.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.01418, allocations: 1.982 MB / 335.2 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01418, allocations: 0 / 335.2 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01418, allocations: 0 / 335.2 MB, free: 6.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.0142, allocations: 0 / 335.2 MB, free: 6.203 MB / 298.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.00164/0.01584, allocations: 1.489 MB / 336.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.01587, allocations: 8.922 kB / 336.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.016, allocations: 140 kB / 336.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.01675, allocations: 0.6505 MB / 337.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.0168, allocations: 74.36 kB / 337.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.01689, allocations: 104.3 kB / 337.7 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.01828, allocations: 1.06 MB / 338.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01831, allocations: 7.938 kB / 338.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.01836, allocations: 40 kB / 338.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.01838, allocations: 27.94 kB / 338.8 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.01955, allocations: 0.8757 MB / 339.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.02244, allocations: 2.881 MB / 342.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.02398, allocations: 0.8598 MB / 343.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.0244, allocations: 329.9 kB / 343.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.02443, allocations: 15.92 kB / 343.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.02446, allocations: 42.56 kB / 343.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.693e-06/0.02446, allocations: 4 kB / 343.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002533/0.02699, allocations: 1.806 MB / 345.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.02703, allocations: 89 kB / 345.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.02771, allocations: 0.848 MB / 346.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.02774, allocations: 41.7 kB / 346.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.02797, allocations: 0.5505 MB / 347.2 MB, free: 10 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.02808, allocations: 237.9 kB / 347.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.02824, allocations: 158.5 kB / 347.5 MB, free: 9.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000476/0.02871, allocations: 394.7 kB / 347.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.02921, allocations: 345.8 kB / 348.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.02976, allocations: 0.5106 MB / 348.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.03074, allocations: 0.8287 MB / 349.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.03074, allocations: 0 / 349.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001221/0.03196, allocations: 1.012 MB / 350.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.03198, allocations: 8 kB / 350.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.03199, allocations: 4 kB / 350.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.032, allocations: 8 kB / 350.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.03259, allocations: 283.6 kB / 350.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.0326, allocations: 19.92 kB / 350.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.03292, allocations: 59.94 kB / 351 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.03295, allocations: 39.98 kB / 351 MB, free: 5.949 MB / 314.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.0004416/0.0334, allocations: 285.5 kB / 351.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.03348, allocations: 87.44 kB / 351.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.03397, allocations: 383.7 kB / 351.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.03398, allocations: 8 kB / 351.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.03398, allocations: 3.938 kB / 351.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.03399, allocations: 7.984 kB / 351.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.03604, allocations: 2.011 MB / 353.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.03605, allocations: 8 kB / 353.8 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.03646, allocations: 203.7 kB / 354 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.03646, allocations: 11.94 kB / 354 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.03649, allocations: 23.98 kB / 354 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.0365, allocations: 12.06 kB / 354.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.0365, allocations: 11.94 kB / 354.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.03742, allocations: 1.014 MB / 355.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.03751, allocations: 99.41 kB / 355.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.03758, allocations: 20 kB / 355.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.03785, allocations: 51.89 kB / 355.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.03793, allocations: 71.72 kB / 355.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.03796, allocations: 35.98 kB / 355.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004394/0.0384, allocations: 0.5732 MB / 355.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0384, allocations: 0 / 355.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.03883, allocations: 207.9 kB / 356.1 MB, free: 0.6133 MB / 314.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.0005858/0.03942, allocations: 409.9 kB / 356.5 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.04042, allocations: 0.7262 MB / 357.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.04042, allocations: 4.438 kB / 357.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.04088, allocations: 357.3 kB / 357.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.04151, allocations: 193 kB / 357.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.04356, allocations: 1.893 MB / 359.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.04383, allocations: 426.8 kB / 360.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.04401, allocations: 80.41 kB / 360.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04401, allocations: 4 kB / 360.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Templates: time 0.01051/0.05452, allocations: 12.97 MB / 373.2 MB, free: 15.63 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.910926781594753]