Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008/0.0008, allocations: 99.17 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009083/0.0009083, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002034, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.086, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005619/0.09165, allocations: 5.613 MB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.09415, allocations: 1.828 MB / 366.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.09452, allocations: 19.94 kB / 366.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.09495, allocations: 162.8 kB / 366.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.09559, allocations: 337.5 kB / 366.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.09607, allocations: 215.7 kB / 366.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.09728, allocations: 1.35 MB / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.09783, allocations: 369.7 kB / 368.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.09838, allocations: 442.2 kB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.099, allocations: 0.4938 MB / 369.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.09912, allocations: 64 kB / 369.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.09929, allocations: 64 kB / 369.6 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.09948, allocations: 187.2 kB / 369.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.09971, allocations: 253.1 kB / 370 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.101, allocations: 1.488 MB / 371.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.101, allocations: 3.938 kB / 371.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.101, allocations: 0 / 371.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.101, allocations: 0 / 371.5 MB, free: 0.7461 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1696/0.2706, allocations: 1.267 MB / 372.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.2707, allocations: 9.75 kB / 372.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.2713, allocations: 150 kB / 372.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2724, allocations: 0.665 MB / 373.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2725, allocations: 79.11 kB / 373.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2726, allocations: 100.3 kB / 373.7 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.2745, allocations: 0.9784 MB / 374.7 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.2746, allocations: 5.469 kB / 374.7 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2747, allocations: 39.31 kB / 374.8 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.2747, allocations: 23.44 kB / 374.8 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.2763, allocations: 0.8127 MB / 375.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004447/0.2808, allocations: 3.355 MB / 379 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.282, allocations: 0.8024 MB / 379.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.2827, allocations: 446.4 kB / 380.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.2828, allocations: 15.33 kB / 380.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2828, allocations: 48.3 kB / 380.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.746e-06/0.2828, allocations: 0 / 380.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=119): time 0.007999/0.2908, allocations: 4.212 MB / 384.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2909, allocations: 90.41 kB / 384.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.2918, allocations: 0.6321 MB / 385.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.2919, allocations: 45.95 kB / 385.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.2922, allocations: 433.3 kB / 385.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.2924, allocations: 406.1 kB / 386.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.2925, allocations: 21.06 kB / 386.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2926, allocations: 402.9 kB / 386.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.2933, allocations: 345.4 kB / 386.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.294, allocations: 494.4 kB / 387.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.2948, allocations: 409.1 kB / 387.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2948, allocations: 1.375 kB / 387.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001994/0.2968, allocations: 1.157 MB / 388.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2968, allocations: 8.406 kB / 388.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2968, allocations: 2.781 kB / 388.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.2972, allocations: 133.8 kB / 389 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.2982, allocations: 242.7 kB / 389.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.3008, allocations: 4.529 MB / 393.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.3014, allocations: 40.84 kB / 393.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.3015, allocations: 40.31 kB / 393.8 MB, free: 5.742 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.3018, allocations: 279.7 kB / 394.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.302, allocations: 101.2 kB / 394.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.3034, allocations: 0.7415 MB / 394.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3034, allocations: 12.41 kB / 395 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.3034, allocations: 3.328 kB / 395 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.3035, allocations: 6.984 kB / 395 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.3069, allocations: 2.633 MB / 397.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3069, allocations: 1.094 kB / 397.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.3077, allocations: 195.2 kB / 397.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.3081, allocations: 160.6 kB / 397.9 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.3082, allocations: 28.45 kB / 398 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.3115, allocations: 5.564 MB / 403.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3115, allocations: 0 / 403.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.3139, allocations: 1.668 MB / 405.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.3143, allocations: 247.6 kB / 405.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3144, allocations: 23.88 kB / 405.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.3149, allocations: 43.77 kB / 405.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.315, allocations: 75.89 kB / 405.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.3151, allocations: 39.47 kB / 405.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.3156, allocations: 460.4 kB / 406.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3156, allocations: 3.938 kB / 406.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008475/0.3165, allocations: 258 kB / 406.3 MB, free: 12.01 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.3167, allocations: 145.1 kB / 406.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.3186, allocations: 1.282 MB / 407.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3186, allocations: 0 / 407.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3199, allocations: 0.9801 MB / 408.7 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.3209, allocations: 184.3 kB / 408.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3245, allocations: 2.651 MB / 411.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.3251, allocations: 1.037 MB / 412.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005269/0.3256, allocations: 124 kB / 412.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3258, allocations: 75.42 kB / 412.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3258, allocations: 0 / 412.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01843/0.3443, allocations: 11.27 MB / 424.1 MB, free: 10.38 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches