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.001469/0.001469, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001618/0.001618, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.576/1.576, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001686/0.001686, allocations: 51.91 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3164, allocations: 53.38 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009409/0.3258, allocations: 5.814 MB / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.3308, allocations: 2.291 MB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.3313, allocations: 23.88 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.3322, allocations: 357.7 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3335, allocations: 0.5355 MB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3346, allocations: 451.3 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.3367, allocations: 1.565 MB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.3374, allocations: 354 kB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3386, allocations: 0.6113 MB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3397, allocations: 0.6887 MB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.3399, allocations: 160 kB / 445.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3403, allocations: 196 kB / 445.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.3407, allocations: 334.9 kB / 445.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009582/0.3417, allocations: 0.5561 MB / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.3447, allocations: 1.988 MB / 448.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3447, allocations: 0 / 448.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3447, allocations: 3.938 kB / 448.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.3447, allocations: 0 / 448.2 MB, free: 6.793 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.004201/0.3489, allocations: 1.501 MB / 449.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.349, allocations: 16.03 kB / 449.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.3497, allocations: 164.1 kB / 449.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.3514, allocations: 0.6852 MB / 450.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.3515, allocations: 70 kB / 450.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.3517, allocations: 100 kB / 450.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.354, allocations: 1.032 MB / 451.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.3541, allocations: 0 / 451.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3542, allocations: 43.94 kB / 451.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.3543, allocations: 24 kB / 451.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3564, allocations: 0.8133 MB / 452.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.3629, allocations: 2.895 MB / 455.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.3653, allocations: 0.6005 MB / 456.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.366, allocations: 289.6 kB / 456.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.366, allocations: 15.98 kB / 456.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.3661, allocations: 38.94 kB / 456.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.797e-06/0.3661, allocations: 0 / 456.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004971/0.3711, allocations: 1.677 MB / 458.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.3712, allocations: 89.05 kB / 458.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.3728, allocations: 0.9108 MB / 459.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.3729, allocations: 33.7 kB / 459.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.3736, allocations: 0.5739 MB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.3738, allocations: 241.9 kB / 460 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.3742, allocations: 162.6 kB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.3744, allocations: 398.7 kB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.3752, allocations: 305.8 kB / 460.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009584/0.3761, allocations: 495.1 kB / 461.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.378, allocations: 0.7941 MB / 462.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.378, allocations: 0 / 462.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002309/0.3803, allocations: 0.9556 MB / 463.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.3803, allocations: 8 kB / 463.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3803, allocations: 4 kB / 463.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.3804, allocations: 12 kB / 463.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3816, allocations: 275.6 kB / 463.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.3816, allocations: 11.94 kB / 463.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.3825, allocations: 51.95 kB / 463.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.3826, allocations: 43.92 kB / 463.5 MB, free: 7.078 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.0006408/0.3832, allocations: 281.6 kB / 463.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3834, allocations: 95.39 kB / 463.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.3843, allocations: 356.9 kB / 464.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3843, allocations: 4 kB / 464.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3843, allocations: 4 kB / 464.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3843, allocations: 3.984 kB / 464.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.3884, allocations: 1.999 MB / 466.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.3884, allocations: 7.938 kB / 466.2 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.3894, allocations: 212.5 kB / 466.4 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.3894, allocations: 8 kB / 466.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.3895, allocations: 20 kB / 466.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-05/0.3895, allocations: 19.92 kB / 466.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.3895, allocations: 11.98 kB / 466.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3915, allocations: 1.021 MB / 467.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.3917, allocations: 111.3 kB / 467.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3919, allocations: 24 kB / 467.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.3925, allocations: 51.89 kB / 467.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3926, allocations: 67.72 kB / 467.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.3927, allocations: 27.98 kB / 467.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009694/0.3937, allocations: 0.6162 MB / 468.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3937, allocations: 0 / 468.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009137/0.3946, allocations: 216 kB / 468.6 MB, free: 1.715 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.001592/0.3962, allocations: 408.3 kB / 469 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.398, allocations: 0.6909 MB / 469.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.398, allocations: 4 kB / 469.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.3988, allocations: 349.8 kB / 470.1 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4, allocations: 216.2 kB / 470.3 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.4039, allocations: 1.941 MB / 472.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.4044, allocations: 447.5 kB / 472.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005162/0.4049, allocations: 118.7 kB / 472.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4052, allocations: 71.41 kB / 472.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4052, allocations: 0 / 472.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of Templates: time 0.02512/0.4303, allocations: 12.19 MB / 485 MB, free: 1.523 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 -s cvode -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: 9.671240081996075]