Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 215.8 kB / 23 MB, free: 5.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.86 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008648/0.2603, allocations: 6.603 MB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.2646, allocations: 2.4 MB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007235/0.2653, allocations: 19.94 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009553/0.2663, allocations: 373.7 kB / 439.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.2678, allocations: 0.5394 MB / 439.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2688, allocations: 451.3 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.2708, allocations: 1.565 MB / 441.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/0.2714, allocations: 359.2 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007732/0.2721, allocations: 0.5918 MB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/0.2729, allocations: 0.6887 MB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.2731, allocations: 160 kB / 443.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.2734, allocations: 196 kB / 443.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.2737, allocations: 330.9 kB / 444 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.2743, allocations: 0.6843 MB / 444.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.2763, allocations: 1.985 MB / 446.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2763, allocations: 0 / 446.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2763, allocations: 0 / 446.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.2763, allocations: 0 / 446.7 MB, free: 6.543 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.003012/0.2793, allocations: 1.576 MB / 448.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2794, allocations: 8.031 kB / 448.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.2799, allocations: 168.1 kB / 448.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2811, allocations: 0.7436 MB / 449.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.2812, allocations: 74 kB / 449.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2814, allocations: 96 kB / 449.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.2833, allocations: 0.9818 MB / 450.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.2833, allocations: 3.938 kB / 450.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/0.2834, allocations: 40 kB / 450.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.2834, allocations: 24 kB / 450.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.2851, allocations: 0.821 MB / 451.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.291, allocations: 3.652 MB / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.293, allocations: 0.5945 MB / 455.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.2936, allocations: 293.6 kB / 455.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.2937, allocations: 15.97 kB / 455.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2937, allocations: 43.09 kB / 455.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.325e-06/0.2937, allocations: 0 / 455.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00444/0.2981, allocations: 1.694 MB / 457.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.2982, allocations: 81.11 kB / 457.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.2996, allocations: 1.042 MB / 458.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.2997, allocations: 37.7 kB / 458.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.3001, allocations: 0.5622 MB / 459.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.3003, allocations: 242 kB / 459.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.3006, allocations: 162.6 kB / 459.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3008, allocations: 341.9 kB / 460 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/0.3015, allocations: 309.8 kB / 460.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.3024, allocations: 0.4953 MB / 460.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.304, allocations: 0.7834 MB / 461.5 MB, free: 7.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.304, allocations: 4 kB / 461.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002081/0.3061, allocations: 0.9684 MB / 462.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3061, allocations: 8 kB / 462.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3061, allocations: 4 kB / 462.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.3062, allocations: 12 kB / 462.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3074, allocations: 279.9 kB / 462.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.3074, allocations: 8 kB / 462.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.3081, allocations: 51.95 kB / 462.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.3082, allocations: 43.98 kB / 462.9 MB, free: 5.781 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.0004392/0.3086, allocations: 285.5 kB / 463.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.3088, allocations: 119.2 kB / 463.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.3097, allocations: 346.8 kB / 463.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3097, allocations: 12 kB / 463.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.3097, allocations: 3.984 kB / 463.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3097, allocations: 7.922 kB / 463.7 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.3136, allocations: 2.282 MB / 465.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.3136, allocations: 8 kB / 466 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/0.3144, allocations: 216.5 kB / 466.2 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.3145, allocations: 11.94 kB / 466.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.3145, allocations: 23.98 kB / 466.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.3145, allocations: 8 kB / 466.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.3145, allocations: 11.94 kB / 466.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3162, allocations: 1.035 MB / 467.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.3164, allocations: 196.4 kB / 467.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3165, allocations: 24 kB / 467.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3172, allocations: 47.95 kB / 467.5 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3173, allocations: 63.81 kB / 467.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.3174, allocations: 35.92 kB / 467.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009549/0.3183, allocations: 0.7112 MB / 468.3 MB, free: 68 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3183, allocations: 0 / 468.3 MB, free: 68 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007979/0.3191, allocations: 216 kB / 468.5 MB, free: 15.85 MB / 382.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.001277/0.3204, allocations: 380 kB / 468.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.322, allocations: 0.6911 MB / 469.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.322, allocations: 8.125 kB / 469.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.3228, allocations: 345.1 kB / 469.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3239, allocations: 229.7 kB / 470.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.3272, allocations: 1.97 MB / 472.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.3278, allocations: 1.033 MB / 473.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000483/0.3283, allocations: 127.5 kB / 473.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.3285, allocations: 79.41 kB / 473.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3285, allocations: 0 / 473.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02089/0.3494, allocations: 11.44 MB / 484.8 MB, free: 15.64 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.038499781861901]