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.001368/0.001368, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 56.34 kB / 307.7 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1009, allocations: 50.53 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008348/0.1092, allocations: 6.43 MB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.1135, allocations: 1.913 MB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007377/0.1142, allocations: 19.94 kB / 366.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.115, allocations: 218 kB / 366.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1162, allocations: 412.7 kB / 367.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.117, allocations: 375.5 kB / 367.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.1191, allocations: 1.503 MB / 369 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008506/0.1199, allocations: 0.5055 MB / 369.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.121, allocations: 0.5489 MB / 370.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.1218, allocations: 0.6068 MB / 370.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.122, allocations: 164 kB / 370.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1223, allocations: 160 kB / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.1226, allocations: 307 kB / 371.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.1233, allocations: 0.6689 MB / 372 MB, free: 188 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1521/0.2754, allocations: 1.867 MB / 373.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2754, allocations: 1.062 kB / 373.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2754, allocations: 0 / 373.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.623e-05/0.2755, allocations: 0 / 373.8 MB, free: 11.73 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.003036/0.2785, allocations: 1.445 MB / 375.3 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2786, allocations: 9.609 kB / 375.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.2792, allocations: 148.9 kB / 375.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.2803, allocations: 0.6822 MB / 376.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2804, allocations: 81.08 kB / 376.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2806, allocations: 101.2 kB / 376.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.2824, allocations: 0.9744 MB / 377.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.2825, allocations: 6.609 kB / 377.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.2826, allocations: 39.34 kB / 377.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2826, allocations: 28 kB / 377.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.2842, allocations: 0.8 MB / 378.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.2893, allocations: 3.341 MB / 381.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.2905, allocations: 0.7984 MB / 382.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.2912, allocations: 438.5 kB / 382.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.2913, allocations: 26.95 kB / 382.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2913, allocations: 44.5 kB / 382.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.474e-06/0.2913, allocations: 0 / 382.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=119): time 0.008365/0.2997, allocations: 4.178 MB / 387 MB, free: 6.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2998, allocations: 90.48 kB / 387.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/0.3006, allocations: 0.6433 MB / 387.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.3007, allocations: 45.3 kB / 387.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.3009, allocations: 433.9 kB / 388.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.3011, allocations: 411.7 kB / 388.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.3014, allocations: 189.4 kB / 388.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.3015, allocations: 395.9 kB / 389.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.3022, allocations: 348.2 kB / 389.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.3029, allocations: 491.5 kB / 390 MB, free: 4.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.3042, allocations: 0.8528 MB / 390.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3042, allocations: 0 / 390.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002046/0.3063, allocations: 1.155 MB / 392 MB, free: 3.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3063, allocations: 6.938 kB / 392 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3063, allocations: 2.281 kB / 392 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.3067, allocations: 133 kB / 392.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.3077, allocations: 237 kB / 392.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.3111, allocations: 4.984 MB / 397.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.312, allocations: 35.11 kB / 397.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.3121, allocations: 37.66 kB / 397.4 MB, free: 14.24 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.0005646/0.3126, allocations: 282 kB / 397.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3128, allocations: 93.69 kB / 397.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.3144, allocations: 0.7512 MB / 398.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3144, allocations: 12.38 kB / 398.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3144, allocations: 2.625 kB / 398.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.3144, allocations: 9.859 kB / 398.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.3187, allocations: 2.632 MB / 401.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3187, allocations: 0 / 401.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.3195, allocations: 190.1 kB / 401.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.32, allocations: 161.4 kB / 401.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/0.3201, allocations: 32.33 kB / 401.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/0.3247, allocations: 5.99 MB / 407.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3248, allocations: 3.312 kB / 407.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.3276, allocations: 1.657 MB / 409.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.3282, allocations: 254.9 kB / 409.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.3283, allocations: 24.72 kB / 409.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.3289, allocations: 33.95 kB / 409.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.329, allocations: 84.7 kB / 409.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.3291, allocations: 35.05 kB / 409.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006151/0.3297, allocations: 459.8 kB / 410.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3297, allocations: 0 / 410.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009623/0.3307, allocations: 259.3 kB / 410.3 MB, free: 3.906 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.0001822/0.3309, allocations: 134.2 kB / 410.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.3336, allocations: 1.319 MB / 411.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3337, allocations: 4.188 kB / 411.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3351, allocations: 0.9861 MB / 412.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3363, allocations: 216.2 kB / 413 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.3403, allocations: 2.212 MB / 415.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.341, allocations: 1.04 MB / 416.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.3413, allocations: 91.41 kB / 416.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3414, allocations: 0 / 416.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.03598/0.3773, allocations: 29.99 MB / 446.3 MB, free: 15.92 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/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