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.001272/0.001272, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001419/0.001419, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.8554/0.8554, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.746e-06/1.004e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004731/0.004741, allocations: 6.322 MB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.007077, allocations: 2.422 MB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.007325, allocations: 23.94 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.007821, allocations: 357.7 kB / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.008464, allocations: 0.5624 MB / 283.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.008924, allocations: 467.1 kB / 283.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.009835, allocations: 1.619 MB / 285.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.01016, allocations: 330 kB / 285.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.01077, allocations: 0.92 MB / 286.4 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.01119, allocations: 0.5337 MB / 286.9 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01131, allocations: 156 kB / 287.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.01149, allocations: 187.9 kB / 287.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.01167, allocations: 334.8 kB / 287.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.01196, allocations: 474.9 kB / 288 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.01265, allocations: 1.032 MB / 289.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01265, allocations: 4 kB / 289.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01265, allocations: 0 / 289.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01266, allocations: 0 / 289.1 MB, free: 1.27 MB / 266.7 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.08507/0.09773, allocations: 1.428 MB / 290.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.09776, allocations: 9.188 kB / 290.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.09811, allocations: 191.7 kB / 290.7 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.09865, allocations: 477.5 kB / 291.2 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.0987, allocations: 75.84 kB / 291.2 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.09878, allocations: 101.6 kB / 291.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.09942, allocations: 0.7284 MB / 292.1 MB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.09945, allocations: 1.062 kB / 292.1 MB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.09949, allocations: 43.06 kB / 292.1 MB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.0995, allocations: 27.34 kB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.09986, allocations: 270.1 kB / 292.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.102, allocations: 2.107 MB / 294.5 MB, free: 23.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1027, allocations: 365.2 kB / 294.9 MB, free: 23.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1028, allocations: 136.5 kB / 295 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1028, allocations: 15.73 kB / 295 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1029, allocations: 43.86 kB / 295.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.853e-06/0.1029, allocations: 0 / 295.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001164/0.104, allocations: 0.8271 MB / 295.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.104, allocations: 88.92 kB / 296 MB, free: 23.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.1045, allocations: 0.6925 MB / 296.7 MB, free: 23.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1045, allocations: 35.45 kB / 296.7 MB, free: 23.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1047, allocations: 492 kB / 297.2 MB, free: 23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.1047, allocations: 241.5 kB / 297.4 MB, free: 22.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1049, allocations: 164.6 kB / 297.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.105, allocations: 409.1 kB / 298 MB, free: 22.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1051, allocations: 82.23 kB / 298 MB, free: 22.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1053, allocations: 284.2 kB / 298.3 MB, free: 22.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.1056, allocations: 432.9 kB / 298.7 MB, free: 22.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1056, allocations: 2.125 kB / 298.8 MB, free: 22.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0004833/0.1061, allocations: 471.2 kB / 299.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1061, allocations: 8.438 kB / 299.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1061, allocations: 6 kB / 299.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1061, allocations: 9.391 kB / 299.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.1066, allocations: 240.8 kB / 299.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1066, allocations: 18.89 kB / 299.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.1069, allocations: 43.98 kB / 299.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.1069, allocations: 29.8 kB / 299.6 MB, free: 22.05 MB / 266.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.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.0001366/0.107, allocations: 169.3 kB / 299.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.1071, allocations: 77.5 kB / 299.8 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.1073, allocations: 198.4 kB / 300 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1073, allocations: 6.531 kB / 300 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1073, allocations: 5.141 kB / 300 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1073, allocations: 2.625 kB / 300 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1085, allocations: 1.178 MB / 301.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.1085, allocations: 8.562 kB / 301.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.1088, allocations: 186.4 kB / 301.4 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1088, allocations: 9.625 kB / 301.4 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1089, allocations: 21.62 kB / 301.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.1089, allocations: 19.09 kB / 301.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1089, allocations: 6.875 kB / 301.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.1092, allocations: 0.6436 MB / 302.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1093, allocations: 84.23 kB / 302.2 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.1094, allocations: 19.64 kB / 302.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1096, allocations: 40.53 kB / 302.2 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.1097, allocations: 72.84 kB / 302.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1097, allocations: 28.14 kB / 302.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1099, allocations: 334.6 kB / 302.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1099, allocations: 0 / 302.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.1104, allocations: 210.8 kB / 302.8 MB, free: 20.7 MB / 266.7 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.0008251/0.1112, allocations: 458.5 kB / 303.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1115, allocations: 371.9 kB / 303.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.1116, allocations: 12.62 kB / 303.7 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1117, allocations: 175.2 kB / 303.8 MB, free: 20.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.1123, allocations: 232.4 kB / 304.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1137, allocations: 1.731 MB / 305.8 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.1138, allocations: 187 kB / 306 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.114, allocations: 114.9 kB / 306.1 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.1143, allocations: 233.7 kB / 306.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1143, allocations: 4 kB / 306.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01141/0.1257, allocations: 11.36 MB / 317.7 MB, free: 7.992 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5783275538124144]