Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001728/0.001728, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002194/0.002194, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 55.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008031/0.2296, allocations: 5.817 MB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.234, allocations: 2.287 MB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.2345, allocations: 27.88 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.2353, allocations: 357.7 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2366, allocations: 0.5278 MB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.2375, allocations: 463.2 kB / 441.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.2392, allocations: 1.561 MB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005538/0.2397, allocations: 350 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/0.2405, allocations: 0.619 MB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000884/0.2414, allocations: 0.6848 MB / 445 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.2416, allocations: 164 kB / 445.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.2419, allocations: 196 kB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.2422, allocations: 330.9 kB / 445.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.2428, allocations: 0.5484 MB / 446.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.2448, allocations: 1.996 MB / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2448, allocations: 0 / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2448, allocations: 0 / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.2448, allocations: 0 / 448.2 MB, free: 6.73 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003072/0.2479, allocations: 1.501 MB / 449.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2479, allocations: 12.03 kB / 449.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.2485, allocations: 168.1 kB / 449.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.2498, allocations: 0.6813 MB / 450.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.2499, allocations: 74 kB / 450.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.2501, allocations: 96 kB / 450.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.2522, allocations: 1.028 MB / 451.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.2522, allocations: 15.84 kB / 451.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.2523, allocations: 40 kB / 451.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.2523, allocations: 24 kB / 451.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.2541, allocations: 0.8132 MB / 452.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.2594, allocations: 2.895 MB / 455.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.2615, allocations: 0.5887 MB / 456.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.2621, allocations: 301.5 kB / 456.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.2621, allocations: 11.98 kB / 456.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2622, allocations: 38.94 kB / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.394e-06/0.2622, allocations: 0 / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004325/0.2665, allocations: 1.68 MB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.2666, allocations: 89.09 kB / 458.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.2678, allocations: 0.903 MB / 459.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.2679, allocations: 37.7 kB / 459.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.2683, allocations: 0.57 MB / 459.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.2685, allocations: 245.9 kB / 460 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.2688, allocations: 166.5 kB / 460.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.2691, allocations: 398.7 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007781/0.2699, allocations: 309.8 kB / 460.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/0.2708, allocations: 495.1 kB / 461.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.2724, allocations: 0.7863 MB / 462.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2724, allocations: 0 / 462.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002209/0.2747, allocations: 0.9517 MB / 463.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2747, allocations: 12.03 kB / 463.1 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2747, allocations: 4 kB / 463.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.2747, allocations: 12 kB / 463.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.276, allocations: 271.5 kB / 463.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.276, allocations: 16 kB / 463.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.2768, allocations: 51.95 kB / 463.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.2769, allocations: 39.98 kB / 463.5 MB, free: 7.02 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 (112): * Single equations (assignments): 112 * 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.0004488/0.2774, allocations: 289.5 kB / 463.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.2775, allocations: 95.39 kB / 463.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008395/0.2784, allocations: 353 kB / 464.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2784, allocations: 3.984 kB / 464.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2784, allocations: 0 / 464.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.2786, allocations: 91.41 kB / 464.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2787, allocations: 15.94 kB / 464.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.2793, allocations: 39.95 kB / 464.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.2794, allocations: 51.86 kB / 464.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002205/0.2816, allocations: 0.8862 MB / 465.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001624/0.2833, allocations: 0.9279 MB / 466.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006363/0.2839, allocations: 263.8 kB / 466.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008815/0.2848, allocations: 0.6201 MB / 467.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.2848, allocations: 0 / 467.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.288, allocations: 0.8903 MB / 468 MB, free: 2.672 MB / 366.1 MB Notification: Performance of SimCode: time 0.003209/0.2912, allocations: 2.136 MB / 470.1 MB, free: 496 kB / 366.1 MB Notification: Performance of Templates: time 0.02664/0.3179, allocations: 15.47 MB / 485.6 MB, free: 1.242 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.872022713003389]