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=10000,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=10000,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.001284/0.001285, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.42 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1099, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007957/0.1179, allocations: 6.428 MB / 364 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.1216, allocations: 1.913 MB / 365.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006547/0.1223, allocations: 19.94 kB / 365.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.1229, allocations: 226 kB / 366.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1239, allocations: 404.8 kB / 366.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.1247, allocations: 371.5 kB / 366.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1264, allocations: 1.507 MB / 368.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007289/0.1272, allocations: 0.5055 MB / 368.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.128, allocations: 0.5567 MB / 369.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.1287, allocations: 0.6029 MB / 370 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1289, allocations: 160 kB / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1291, allocations: 164 kB / 370.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.1294, allocations: 307 kB / 370.7 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.1301, allocations: 0.665 MB / 371.3 MB, free: 212 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1609/0.291, allocations: 1.866 MB / 373.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.291, allocations: 0.5 kB / 373.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.291, allocations: 0 / 373.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.2911, allocations: 0.6562 kB / 373.2 MB, free: 11.74 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.002966/0.294, allocations: 1.448 MB / 374.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2941, allocations: 11.16 kB / 374.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/0.2946, allocations: 146.6 kB / 374.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2957, allocations: 0.6822 MB / 375.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2958, allocations: 77.41 kB / 375.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.296, allocations: 102.9 kB / 375.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2978, allocations: 0.9796 MB / 376.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.2978, allocations: 5.891 kB / 376.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.2979, allocations: 39.94 kB / 376.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.2979, allocations: 23.38 kB / 376.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.2995, allocations: 0.8011 MB / 377.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.3042, allocations: 3.339 MB / 380.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3054, allocations: 0.8027 MB / 381.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.306, allocations: 443.9 kB / 382.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.3061, allocations: 20.59 kB / 382.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3061, allocations: 39.7 kB / 382.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/0.3061, allocations: 7.094 kB / 382.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=119): time 0.008021/0.3142, allocations: 4.18 MB / 386.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3142, allocations: 92.14 kB / 386.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.315, allocations: 0.6434 MB / 387.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.3151, allocations: 42.98 kB / 387.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3153, allocations: 436.4 kB / 387.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3155, allocations: 402.6 kB / 387.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.3158, allocations: 192.1 kB / 388.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3159, allocations: 400.9 kB / 388.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.3165, allocations: 344.7 kB / 388.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.3172, allocations: 493.2 kB / 389.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3185, allocations: 0.8529 MB / 390.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3185, allocations: 1.406 kB / 390.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001873/0.3204, allocations: 1.146 MB / 391.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3204, allocations: 6.156 kB / 391.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3205, allocations: 6.906 kB / 391.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.3208, allocations: 130.7 kB / 391.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/0.3218, allocations: 238.7 kB / 391.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.3251, allocations: 4.987 MB / 396.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.3259, allocations: 41.06 kB / 396.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.326, allocations: 38.34 kB / 396.8 MB, free: 14.25 MB / 318.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_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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005391/0.3266, allocations: 278.9 kB / 397 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.3267, allocations: 93.62 kB / 397.1 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.3282, allocations: 0.7512 MB / 397.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3282, allocations: 12.38 kB / 397.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3282, allocations: 2.75 kB / 397.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.3283, allocations: 5.359 kB / 397.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.3323, allocations: 2.631 MB / 400.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3323, allocations: 1.344 kB / 400.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.3331, allocations: 199.8 kB / 400.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.3335, allocations: 157.2 kB / 400.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.3336, allocations: 31.83 kB / 400.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.3383, allocations: 5.984 MB / 406.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3383, allocations: 0 / 406.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.3412, allocations: 1.657 MB / 408.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.3416, allocations: 256.8 kB / 408.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.3418, allocations: 29.3 kB / 408.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.3425, allocations: 31.98 kB / 408.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.3427, allocations: 80.45 kB / 408.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.3428, allocations: 33.11 kB / 409 MB, free: 4.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007061/0.3435, allocations: 461.3 kB / 409.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3435, allocations: 4 kB / 409.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3445, allocations: 261.8 kB / 409.7 MB, free: 3.926 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.3447, allocations: 132 kB / 409.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.3475, allocations: 1.325 MB / 411.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3476, allocations: 0 / 411.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.349, allocations: 0.9856 MB / 412.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.3504, allocations: 208.1 kB / 412.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.3544, allocations: 2.176 MB / 414.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.3552, allocations: 1.033 MB / 415.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.3557, allocations: 128 kB / 415.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.356, allocations: 79.42 kB / 415.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.356, allocations: 0 / 415.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.02231/0.3783, allocations: 12.4 MB / 428.1 MB, free: 1.574 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.1.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