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.001413/0.001413, allocations: 81.97 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001363/0.001363, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.42/1.42, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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 3.386e-06/3.386e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.373e-05/4.712e-05, allocations: 6.219 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01305/0.0131, allocations: 5.703 MB / 324.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007351/0.02045, allocations: 2.109 MB / 326.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.0221, allocations: 24.38 kB / 326.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.02386, allocations: 345.7 kB / 327.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.02672, allocations: 0.5005 MB / 327.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.02873, allocations: 462.1 kB / 328 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.03248, allocations: 1.588 MB / 329.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.03363, allocations: 336.4 kB / 330 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.03611, allocations: 0.8813 MB / 330.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.03784, allocations: 0.5189 MB / 331.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.03833, allocations: 164.8 kB / 331.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.03914, allocations: 183.4 kB / 331.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.03979, allocations: 332.5 kB / 332 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.04133, allocations: 468.8 kB / 332.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.04527, allocations: 1.978 MB / 334.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.04528, allocations: 0 / 334.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.04528, allocations: 0 / 334.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.436e-05/0.04535, allocations: 5.016 kB / 334.5 MB, free: 9.879 MB / 302.1 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.005534/0.05089, allocations: 1.487 MB / 336 MB, free: 8.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.05092, allocations: 11.36 kB / 336 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.05118, allocations: 135.3 kB / 336.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.05256, allocations: 0.6524 MB / 336.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.05263, allocations: 80.86 kB / 336.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.05278, allocations: 98.2 kB / 336.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.05492, allocations: 1.061 MB / 338 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.05496, allocations: 5.312 kB / 338 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.05505, allocations: 44.23 kB / 338 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.05507, allocations: 23.38 kB / 338.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.05722, allocations: 0.8787 MB / 338.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.06277, allocations: 2.88 MB / 341.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.06613, allocations: 0.8586 MB / 342.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.067, allocations: 344.5 kB / 343 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.06705, allocations: 11.92 kB / 343 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.0671, allocations: 42.56 kB / 343.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 4.749e-06/0.06711, allocations: 3.984 kB / 343.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005737/0.07284, allocations: 1.799 MB / 344.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.07291, allocations: 89.05 kB / 345 MB, free: 1.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.07414, allocations: 0.848 MB / 345.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.0742, allocations: 37.7 kB / 345.8 MB, free: 484 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/0.07466, allocations: 0.5507 MB / 346.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.07487, allocations: 238 kB / 346.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.07518, allocations: 158.5 kB / 346.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.07541, allocations: 394.5 kB / 347.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000982/0.0764, allocations: 341.8 kB / 347.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.07754, allocations: 0.5223 MB / 348 MB, free: 14.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.07954, allocations: 0.8248 MB / 348.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.07955, allocations: 4 kB / 348.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002527/0.08208, allocations: 1.004 MB / 349.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.0821, allocations: 8 kB / 349.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.08211, allocations: 4 kB / 349.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.08214, allocations: 12.34 kB / 349.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.08348, allocations: 291.5 kB / 350.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.0835, allocations: 15.92 kB / 350.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.0844, allocations: 67.94 kB / 350.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.08448, allocations: 35.98 kB / 350.3 MB, free: 11.85 MB / 318.1 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.0004914/0.08497, allocations: 289 kB / 350.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.08514, allocations: 91.44 kB / 350.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.08621, allocations: 376.9 kB / 351 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.08622, allocations: 4 kB / 351 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.08623, allocations: 7.938 kB / 351 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.08624, allocations: 3.984 kB / 351 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.0903, allocations: 2.01 MB / 353 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.09031, allocations: 4 kB / 353 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/0.09127, allocations: 212.5 kB / 353.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.09128, allocations: 8 kB / 353.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.09133, allocations: 23.98 kB / 353.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.09134, allocations: 12 kB / 353.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.09135, allocations: 11.94 kB / 353.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.09328, allocations: 1.01 MB / 354.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.09351, allocations: 103.4 kB / 354.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.09363, allocations: 20 kB / 354.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.09427, allocations: 47.95 kB / 354.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.0944, allocations: 67.72 kB / 354.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.09446, allocations: 31.98 kB / 354.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007883/0.09525, allocations: 0.5771 MB / 355.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09525, allocations: 7.938 kB / 355.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008633/0.09611, allocations: 211.9 kB / 355.4 MB, free: 6.516 MB / 318.1 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.00143/0.09754, allocations: 394 kB / 355.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.09952, allocations: 0.7336 MB / 356.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.09952, allocations: 0 / 356.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.1004, allocations: 357.8 kB / 356.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1015, allocations: 198.8 kB / 357 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.1049, allocations: 1.856 MB / 358.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.1054, allocations: 434.8 kB / 359.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.1058, allocations: 110.4 kB / 359.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.1061, allocations: 72.47 kB / 359.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1061, allocations: 0 / 359.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Templates: time 0.01959/0.1256, allocations: 10.18 MB / 369.7 MB, free: 8.395 MB / 334.1 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.586290668696165]