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.00108/0.00108, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.25 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007501/0.1176, allocations: 4.659 MB / 363.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.1216, allocations: 1.991 MB / 365.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.1223, allocations: 11.94 kB / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.1233, allocations: 426.2 kB / 366 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.1244, allocations: 461.5 kB / 366.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.1253, allocations: 331 kB / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1268, allocations: 1.04 MB / 367.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.1274, allocations: 302.5 kB / 368.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007272/0.1281, allocations: 426.6 kB / 368.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.1288, allocations: 0.506 MB / 369 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.1289, allocations: 100 kB / 369.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.1292, allocations: 136 kB / 369.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.1294, allocations: 235.2 kB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.1298, allocations: 469.5 kB / 369.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.131, allocations: 1.293 MB / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.131, allocations: 0 / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.131, allocations: 0 / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.131, allocations: 4 kB / 371.2 MB, free: 0.9414 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.1861/0.3171, allocations: 1.206 MB / 372.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3172, allocations: 9.844 kB / 372.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.3178, allocations: 124.6 kB / 372.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.319, allocations: 0.5757 MB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.319, allocations: 44.88 kB / 373.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3192, allocations: 59.97 kB / 373.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3204, allocations: 0.6327 MB / 373.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3204, allocations: 1.781 kB / 373.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.3205, allocations: 29.45 kB / 373.9 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.3205, allocations: 14.41 kB / 373.9 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3216, allocations: 0.5221 MB / 374.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.3252, allocations: 2.537 MB / 377 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.326, allocations: 471.8 kB / 377.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.3266, allocations: 285.6 kB / 377.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.3266, allocations: 16.22 kB / 377.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3267, allocations: 38.73 kB / 377.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.3267, allocations: 0.6875 kB / 377.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.003999/0.3307, allocations: 1.443 MB / 379.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3307, allocations: 61.81 kB / 379.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3319, allocations: 0.9615 MB / 380.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3319, allocations: 36.48 kB / 380.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.3321, allocations: 415.5 kB / 380.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3323, allocations: 208.5 kB / 380.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.3325, allocations: 123.9 kB / 381 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.3325, allocations: 328.5 kB / 381.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.333, allocations: 225.3 kB / 381.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.3336, allocations: 329.3 kB / 381.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.3345, allocations: 0.5518 MB / 382.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3345, allocations: 0.7031 kB / 382.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001314/0.3359, allocations: 0.7042 MB / 383.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3359, allocations: 7.531 kB / 383.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3359, allocations: 2.312 kB / 383.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3359, allocations: 6.656 kB / 383.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.3367, allocations: 167.6 kB / 383.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3367, allocations: 14.47 kB / 383.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.3372, allocations: 33.59 kB / 383.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.3373, allocations: 23.64 kB / 383.4 MB, free: 14.46 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_xMin.contact,actuator.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.3376, allocations: 273.5 kB / 383.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3377, allocations: 83 kB / 383.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3391, allocations: 0.6131 MB / 384.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3391, allocations: 9.344 kB / 384.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3391, allocations: 1.641 kB / 384.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3392, allocations: 3.922 kB / 384.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.3422, allocations: 1.785 MB / 386.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3423, allocations: 9.969 kB / 386.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.3428, allocations: 122.8 kB / 386.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.3428, allocations: 5.562 kB / 386.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.3429, allocations: 18.81 kB / 386.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.3429, allocations: 14.56 kB / 386.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3429, allocations: 2.312 kB / 386.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.344, allocations: 0.72 MB / 387 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.3442, allocations: 205.8 kB / 387.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.3443, allocations: 21.94 kB / 387.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3448, allocations: 29.53 kB / 387.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3449, allocations: 41.28 kB / 387.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.3449, allocations: 20.66 kB / 387.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009048/0.3458, allocations: 0.7063 MB / 388 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3458, allocations: 4 kB / 388.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006215/0.3465, allocations: 151.9 kB / 388.2 MB, free: 11.89 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 (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.0008509/0.3473, allocations: 366.8 kB / 388.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.3489, allocations: 0.5561 MB / 389.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3489, allocations: 1.969 kB / 389.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.3494, allocations: 281.1 kB / 389.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.3502, allocations: 145.4 kB / 389.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3527, allocations: 1.583 MB / 391.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3531, allocations: 0.9668 MB / 392.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.3535, allocations: 103.5 kB / 392.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.3537, allocations: 58.38 kB / 392.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3537, allocations: 0 / 392.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Templates: time 0.01349/0.3672, allocations: 7.915 MB / 400.2 MB, free: 4.422 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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