Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000948/0.000948, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.6 MB / 244.4 MB, free: 8.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008221/0.000822, allocations: 106.3 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3027, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004392/0.3072, allocations: 5.503 MB / 413 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3103, allocations: 1.799 MB / 414.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.3111, allocations: 20 kB / 414.8 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.3117, allocations: 166.8 kB / 415 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008285/0.3125, allocations: 325.5 kB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3132, allocations: 211.7 kB / 415.5 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.3142, allocations: 1.319 MB / 416.8 MB, free: 18.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.3147, allocations: 369.9 kB / 417.2 MB, free: 18.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.315, allocations: 422.3 kB / 417.6 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.3154, allocations: 493.8 kB / 418.1 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.3155, allocations: 68 kB / 418.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3157, allocations: 64 kB / 418.2 MB, free: 17.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3158, allocations: 199.1 kB / 418.4 MB, free: 16.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.316, allocations: 241.1 kB / 418.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008935/0.3169, allocations: 1.465 MB / 420.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3169, allocations: 0 / 420.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3169, allocations: 4 kB / 420.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3169, allocations: 0 / 420.1 MB, free: 15.17 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.0024/0.3193, allocations: 1.297 MB / 421.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3194, allocations: 8.031 kB / 421.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.3198, allocations: 154.6 kB / 421.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.3208, allocations: 0.6408 MB / 422.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3209, allocations: 85.89 kB / 422.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.321, allocations: 95.91 kB / 422.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3227, allocations: 1.025 MB / 423.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3228, allocations: 7.984 kB / 423.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.3229, allocations: 40 kB / 423.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3229, allocations: 24 kB / 423.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.3246, allocations: 0.9069 MB / 424.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.3286, allocations: 3.356 MB / 427.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3298, allocations: 0.8333 MB / 428.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/0.3306, allocations: 491.2 kB / 429.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.3307, allocations: 16.55 kB / 429.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3307, allocations: 51.08 kB / 429.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 4.128e-06/0.3307, allocations: 0 / 429.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.00856/0.3393, allocations: 4.44 MB / 433.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3393, allocations: 89.77 kB / 433.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.34, allocations: 0.6007 MB / 434.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.3401, allocations: 45.7 kB / 434.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3403, allocations: 428.2 kB / 434.7 MB, free: 68 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.3407, allocations: 390.4 kB / 435.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3408, allocations: 20 kB / 435.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.341, allocations: 394.7 kB / 435.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/0.3418, allocations: 402.4 kB / 435.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.3428, allocations: 0.5315 MB / 436.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.3438, allocations: 444 kB / 436.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.3438, allocations: 4 kB / 436.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002289/0.3461, allocations: 1.231 MB / 438.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3461, allocations: 8 kB / 438.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3461, allocations: 4 kB / 438.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.3466, allocations: 134.5 kB / 438.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3477, allocations: 259.7 kB / 438.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.3514, allocations: 4.516 MB / 443 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.3522, allocations: 64.03 kB / 443.1 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.3523, allocations: 39.98 kB / 443.1 MB, free: 7.191 MB / 314.7 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 (128): * Single equations (assignments): 125 * 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.0004894/0.3528, allocations: 284.8 kB / 443.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3529, allocations: 90.92 kB / 443.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3545, allocations: 0.7879 MB / 444.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3545, allocations: 16.03 kB / 444.3 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3545, allocations: 0 / 444.3 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3545, allocations: 7.984 kB / 444.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.3587, allocations: 2.691 MB / 447 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3587, allocations: 4.062 kB / 447 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/0.3596, allocations: 211.7 kB / 447.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.3601, allocations: 151.3 kB / 447.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.3601, allocations: 35.94 kB / 447.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/0.3642, allocations: 5.573 MB / 452.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3643, allocations: 0 / 452.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.3677, allocations: 1.79 MB / 454.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.368, allocations: 168 kB / 454.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3681, allocations: 20 kB / 454.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.3687, allocations: 67.95 kB / 455 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.3689, allocations: 80.41 kB / 455.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.369, allocations: 31.92 kB / 455.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000627/0.3696, allocations: 439.1 kB / 455.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3696, allocations: 4 kB / 455.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009994/0.3706, allocations: 256 kB / 455.8 MB, free: 9.785 MB / 330.7 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 (104): * Single equations (assignments): 100 * 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.000223/0.3709, allocations: 129 kB / 455.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.3734, allocations: 1.381 MB / 457.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3734, allocations: 0 / 457.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.3749, allocations: 1.021 MB / 458.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.376, allocations: 168.4 kB / 458.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3801, allocations: 2.685 MB / 461.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.3807, allocations: 1.024 MB / 462.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.3811, allocations: 83.41 kB / 462.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3811, allocations: 0 / 462.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of Templates: time 0.03333/0.4144, allocations: 28.97 MB / 491.2 MB, free: 6.172 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches