Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001534/0.001534, allocations: 106 kB / 21.18 MB, free: 0.707 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.001567/0.001567, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 55.92 kB / 347.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3258, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007602/0.3334, allocations: 6.396 MB / 403.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.3378, allocations: 2.153 MB / 405.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.3394, allocations: 24.66 kB / 405.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3407, allocations: 364.7 kB / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.3429, allocations: 497.2 kB / 406.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3442, allocations: 442.1 kB / 406.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.3468, allocations: 1.543 MB / 408.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.3476, allocations: 357 kB / 408.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.3489, allocations: 0.5881 MB / 409.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.3505, allocations: 0.6717 MB / 409.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005933/0.3511, allocations: 159.2 kB / 410 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009857/0.352, allocations: 195.9 kB / 410.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.3527, allocations: 330.2 kB / 410.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.3544, allocations: 0.6573 MB / 411.1 MB, free: 328 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.3572, allocations: 1.943 MB / 413.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3572, allocations: 0 / 413.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3572, allocations: 0 / 413.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.3573, allocations: 1.406 kB / 413.1 MB, free: 14.97 MB / 334.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.00336/0.3606, allocations: 1.5 MB / 414.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3607, allocations: 12.97 kB / 414.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.361, allocations: 140.1 kB / 414.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.3623, allocations: 0.648 MB / 415.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.3624, allocations: 74.19 kB / 415.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3626, allocations: 102.2 kB / 415.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.3647, allocations: 1.009 MB / 416.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.3647, allocations: 2.281 kB / 416.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.3648, allocations: 39.94 kB / 416.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.3648, allocations: 23.09 kB / 416.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.3671, allocations: 0.8867 MB / 417.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007107/0.3742, allocations: 3.538 MB / 421 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.3772, allocations: 0.8647 MB / 421.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/0.3781, allocations: 342.4 kB / 422.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.3781, allocations: 15.62 kB / 422.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3782, allocations: 37.78 kB / 422.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 3.056e-06/0.3782, allocations: 0 / 422.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005326/0.3835, allocations: 1.816 MB / 424.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.3836, allocations: 83.17 kB / 424.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.3851, allocations: 0.9799 MB / 425.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.3852, allocations: 37.7 kB / 425.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.3856, allocations: 0.5389 MB / 425.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.3858, allocations: 238 kB / 426 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.3861, allocations: 158.5 kB / 426.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3863, allocations: 345.9 kB / 426.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/0.3872, allocations: 341.7 kB / 426.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.3883, allocations: 0.5223 MB / 427.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.3901, allocations: 0.8242 MB / 428.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3901, allocations: 4 kB / 428.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002488/0.3926, allocations: 1.02 MB / 429.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3926, allocations: 7.938 kB / 429.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3926, allocations: 11.94 kB / 429.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.3926, allocations: 11.98 kB / 429.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.3939, allocations: 291.5 kB / 429.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.3939, allocations: 12 kB / 429.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.3948, allocations: 67.92 kB / 429.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.3949, allocations: 31.98 kB / 429.6 MB, free: 2.098 MB / 334.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.0006288/0.3955, allocations: 289.6 kB / 429.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.3958, allocations: 107.3 kB / 430 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3969, allocations: 386.2 kB / 430.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.3969, allocations: 4 kB / 430.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.397, allocations: 8 kB / 430.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.397, allocations: 3.984 kB / 430.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.4018, allocations: 2.255 MB / 432.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.4019, allocations: 4 kB / 432.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.4028, allocations: 212.5 kB / 432.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.4028, allocations: 11.94 kB / 432.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.4029, allocations: 20 kB / 432.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/0.4029, allocations: 19.92 kB / 432.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.4029, allocations: 15.88 kB / 432.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.4049, allocations: 1.033 MB / 433.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.4053, allocations: 111.3 kB / 434.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.4056, allocations: 23.98 kB / 434.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.4063, allocations: 55.95 kB / 434.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4065, allocations: 67.72 kB / 434.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.4065, allocations: 24 kB / 434.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.4076, allocations: 0.6786 MB / 434.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4076, allocations: 0 / 434.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001054/0.4087, allocations: 215.9 kB / 435.1 MB, free: 12.32 MB / 350.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.001412/0.4101, allocations: 372.7 kB / 435.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.4122, allocations: 0.7341 MB / 436.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.4122, allocations: 4 kB / 436.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.4131, allocations: 365.3 kB / 436.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4146, allocations: 200.2 kB / 436.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.4188, allocations: 1.925 MB / 438.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/0.4196, allocations: 1.018 MB / 439.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006307/0.4203, allocations: 119.2 kB / 439.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.4205, allocations: 75.41 kB / 439.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4205, allocations: 4 kB / 439.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Templates: time 0.02577/0.4463, allocations: 11.31 MB / 451.2 MB, free: 12.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.989053325727582]