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.001337/0.001337, allocations: 100 kB / 21.18 MB, free: 0.6484 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.00137/0.00137, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.446/1.446, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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 0.001667/0.001667, allocations: 47.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2263, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007755/0.234, allocations: 5.721 MB / 429.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.2378, allocations: 2.107 MB / 431.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.2382, allocations: 19.94 kB / 431.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.239, allocations: 349.8 kB / 432 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009995/0.24, allocations: 496.7 kB / 432.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/0.2409, allocations: 449.6 kB / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.2426, allocations: 1.542 MB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.2433, allocations: 329.9 kB / 434.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.2441, allocations: 0.5841 MB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.2448, allocations: 0.5989 MB / 436 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.245, allocations: 164 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.2454, allocations: 196 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.2457, allocations: 322.9 kB / 436.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.2462, allocations: 0.5406 MB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.2481, allocations: 1.949 MB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2482, allocations: 0 / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2482, allocations: 3.938 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.001e-05/0.2482, allocations: 0 / 439.1 MB, free: 15.07 MB / 350.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.003131/0.2513, allocations: 1.493 MB / 440.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2514, allocations: 12.03 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.2516, allocations: 136.1 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.2529, allocations: 0.659 MB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.253, allocations: 74.38 kB / 441.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.2531, allocations: 96.08 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.2551, allocations: 1.067 MB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.2551, allocations: 4 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/0.2552, allocations: 36 kB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.2553, allocations: 24 kB / 442.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.2573, allocations: 0.8757 MB / 443.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.2626, allocations: 2.891 MB / 446.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.2657, allocations: 0.8563 MB / 447.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.2666, allocations: 346.4 kB / 447.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.2666, allocations: 8 kB / 447.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.2667, allocations: 42.42 kB / 447.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.516e-06/0.2667, allocations: 0 / 447.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005308/0.272, allocations: 1.796 MB / 449.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.2721, allocations: 89.05 kB / 449.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.2732, allocations: 0.8519 MB / 450.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.2733, allocations: 37.7 kB / 450.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.2738, allocations: 0.5544 MB / 451.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.274, allocations: 242 kB / 451.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.2742, allocations: 154.6 kB / 451.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.2745, allocations: 394.7 kB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009299/0.2754, allocations: 341.8 kB / 452.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2765, allocations: 0.526 MB / 452.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.2784, allocations: 0.8164 MB / 453.5 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.2784, allocations: 4 kB / 453.5 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002451/0.2809, allocations: 1.008 MB / 454.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2809, allocations: 8 kB / 454.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2809, allocations: 11.88 kB / 454.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.2809, allocations: 12 kB / 454.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.2822, allocations: 283.6 kB / 454.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.2822, allocations: 19.86 kB / 454.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.283, allocations: 67.92 kB / 454.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.2831, allocations: 39.98 kB / 455 MB, free: 14.8 MB / 366.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.0005108/0.2836, allocations: 285.6 kB / 455.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2838, allocations: 91.44 kB / 455.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.2848, allocations: 380.8 kB / 455.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.2848, allocations: 8 kB / 455.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2848, allocations: 0 / 455.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/0.2849, allocations: 3.984 kB / 455.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.2888, allocations: 2 MB / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.2888, allocations: 12 kB / 457.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.2897, allocations: 204.2 kB / 457.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.2897, allocations: 12 kB / 457.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.2897, allocations: 19.98 kB / 458 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/0.2897, allocations: 15.94 kB / 458 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.2898, allocations: 15.88 kB / 458 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2916, allocations: 1.025 MB / 459 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.2918, allocations: 99.41 kB / 459.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2919, allocations: 23.98 kB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.2925, allocations: 51.95 kB / 459.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2927, allocations: 75.66 kB / 459.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.2927, allocations: 24 kB / 459.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007949/0.2935, allocations: 0.581 MB / 459.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2935, allocations: 0 / 459.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008244/0.2943, allocations: 204 kB / 460.1 MB, free: 9.461 MB / 366.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.001448/0.2958, allocations: 398 kB / 460.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2977, allocations: 0.7337 MB / 461.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2977, allocations: 3.938 kB / 461.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.2986, allocations: 358 kB / 461.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2997, allocations: 186 kB / 461.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.3032, allocations: 1.962 MB / 463.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.3037, allocations: 434.8 kB / 464.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.304, allocations: 75.41 kB / 464.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.304, allocations: 0 / 464.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Templates: time 0.0206/0.3246, allocations: 12.98 MB / 477.2 MB, free: 8.422 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/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: 8.438064866233617]