Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 96.95 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 197.3 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 8 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1105, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004798/0.1154, allocations: 4.046 MB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.1185, allocations: 1.852 MB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.1191, allocations: 15.88 kB / 364.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000847/0.12, allocations: 398.7 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1211, allocations: 414 kB / 365.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.1219, allocations: 223.6 kB / 365.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1231, allocations: 0.9109 MB / 366.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.1236, allocations: 223.9 kB / 366.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.1242, allocations: 338.8 kB / 367 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.1248, allocations: 426.4 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.343e-05/0.1249, allocations: 36 kB / 367.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1251, allocations: 71.94 kB / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1252, allocations: 175.3 kB / 367.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1254, allocations: 181.2 kB / 367.9 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008166/0.1262, allocations: 1.005 MB / 368.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1262, allocations: 0 / 368.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1262, allocations: 0 / 368.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1263, allocations: 0 / 368.9 MB, free: 3.133 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001805/0.1281, allocations: 1.086 MB / 370 MB, free: 1.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1281, allocations: 8.031 kB / 370 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.1286, allocations: 130.8 kB / 370.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.1293, allocations: 0.5318 MB / 370.6 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.1295, allocations: 61.19 kB / 370.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.1295, allocations: 60 kB / 370.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.1307, allocations: 0.6363 MB / 371.4 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1307, allocations: 3.906 kB / 371.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.1308, allocations: 24 kB / 371.4 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1308, allocations: 12 kB / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1765/0.3073, allocations: 0.5391 MB / 372 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.3115, allocations: 2.559 MB / 374.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.3125, allocations: 483.3 kB / 375 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.3131, allocations: 290.4 kB / 375.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.3132, allocations: 9.781 kB / 375.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3132, allocations: 38.86 kB / 375.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.3132, allocations: 0 / 375.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004116/0.3173, allocations: 1.582 MB / 376.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.3173, allocations: 57.97 kB / 377 MB, free: 17.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3184, allocations: 0.9627 MB / 377.9 MB, free: 16.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3185, allocations: 36.27 kB / 378 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3187, allocations: 409.5 kB / 378.4 MB, free: 16.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3189, allocations: 213.3 kB / 378.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3189, allocations: 10.5 kB / 378.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.319, allocations: 342.3 kB / 378.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.3195, allocations: 233.3 kB / 379.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.32, allocations: 339.5 kB / 379.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.3206, allocations: 278.9 kB / 379.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3206, allocations: 5.469 kB / 379.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001339/0.322, allocations: 0.7253 MB / 380.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.322, allocations: 7.391 kB / 380.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.322, allocations: 1.938 kB / 380.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.322, allocations: 9.562 kB / 380.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.3228, allocations: 171.9 kB / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3228, allocations: 7.797 kB / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.3233, allocations: 47.97 kB / 380.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.3233, allocations: 26.91 kB / 380.8 MB, free: 15.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.3236, allocations: 266.1 kB / 381 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3237, allocations: 86.38 kB / 381.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.325, allocations: 0.6271 MB / 381.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.325, allocations: 6.531 kB / 381.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.325, allocations: 0 / 381.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.325, allocations: 8.219 kB / 381.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.3276, allocations: 1.807 MB / 383.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3276, allocations: 2.781 kB / 383.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3282, allocations: 136.1 kB / 383.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.3282, allocations: 9.875 kB / 383.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.3283, allocations: 15.2 kB / 383.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.3283, allocations: 9.859 kB / 383.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3283, allocations: 3.219 kB / 383.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3294, allocations: 0.7512 MB / 384.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.3296, allocations: 209.2 kB / 384.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.3297, allocations: 17.77 kB / 384.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.3301, allocations: 46.86 kB / 384.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.3302, allocations: 43.02 kB / 384.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3302, allocations: 19.05 kB / 384.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.3311, allocations: 0.7024 MB / 385.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.82e-07/0.3311, allocations: 0 / 385.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.3317, allocations: 153.6 kB / 385.7 MB, free: 12.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007758/0.3325, allocations: 367.7 kB / 386 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3336, allocations: 0.5612 MB / 386.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3336, allocations: 5.312 kB / 386.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.3342, allocations: 288.7 kB / 386.9 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.3349, allocations: 136.6 kB / 387 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3372, allocations: 1.884 MB / 388.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.3378, allocations: 0.9695 MB / 389.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.3382, allocations: 99.53 kB / 389.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3384, allocations: 53.44 kB / 390 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3384, allocations: 0 / 390 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Templates: time 0.0122/0.3506, allocations: 7.182 MB / 397.2 MB, free: 6.789 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches