Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 113.3 kB / 17.28 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 189.3 kB / 18.19 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 55.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08618, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007375/0.0936, allocations: 6.221 MB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.09704, allocations: 1.839 MB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008432/0.09794, allocations: 23.94 kB / 334.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.09876, allocations: 170.9 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.09999, allocations: 345.5 kB / 335.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.1007, allocations: 339.7 kB / 335.7 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.102, allocations: 1.476 MB / 337.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.1026, allocations: 0.5132 MB / 337.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.1031, allocations: 0.5372 MB / 338.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.1037, allocations: 0.5991 MB / 338.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.1039, allocations: 160 kB / 339 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.104, allocations: 160 kB / 339.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1042, allocations: 295.1 kB / 339.4 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.1047, allocations: 0.6534 MB / 340.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.106, allocations: 1.83 MB / 341.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.106, allocations: 8 kB / 341.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.106, allocations: 0 / 341.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1061, allocations: 0 / 341.9 MB, free: 5.555 MB / 286.1 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.002556/0.1086, allocations: 1.438 MB / 343.4 MB, free: 4.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1087, allocations: 8.031 kB / 343.4 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.1088, allocations: 119.5 kB / 343.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.1098, allocations: 0.6728 MB / 344.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1099, allocations: 74.56 kB / 344.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1101, allocations: 100.3 kB / 344.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.1119, allocations: 1.009 MB / 345.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.112, allocations: 7.906 kB / 345.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.1121, allocations: 36 kB / 345.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1121, allocations: 24 kB / 345.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.1138, allocations: 0.8757 MB / 346.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.1184, allocations: 3.332 MB / 349.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.1198, allocations: 0.8191 MB / 350.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.1206, allocations: 471.1 kB / 350.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.1207, allocations: 21.14 kB / 350.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1207, allocations: 47.06 kB / 351 MB, free: 12.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.344e-06/0.1207, allocations: 0 / 351 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.008915/0.1297, allocations: 4.293 MB / 355.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.1298, allocations: 93.75 kB / 355.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.1306, allocations: 0.6007 MB / 355.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.1306, allocations: 41.7 kB / 356 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.131, allocations: 428.1 kB / 356.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.1312, allocations: 394.2 kB / 356.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.1316, allocations: 186.8 kB / 357 MB, free: 5.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1317, allocations: 394.7 kB / 357.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.1325, allocations: 390.4 kB / 357.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.1334, allocations: 0.5081 MB / 358.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.135, allocations: 0.8848 MB / 359.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.135, allocations: 7.922 kB / 359.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002299/0.1373, allocations: 1.192 MB / 360.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.1374, allocations: 8 kB / 360.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1374, allocations: 0 / 360.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.1378, allocations: 130.5 kB / 360.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.1388, allocations: 255.6 kB / 360.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.1424, allocations: 4.969 MB / 365.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.1431, allocations: 48 kB / 365.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.1432, allocations: 47.91 kB / 365.8 MB, free: 12.65 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 (128): * Single equations (assignments): 125 * 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.00041/0.1436, allocations: 273.7 kB / 366 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.1438, allocations: 91.14 kB / 366.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.1453, allocations: 0.7722 MB / 366.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1453, allocations: 12 kB / 366.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.1453, allocations: 8 kB / 366.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.1454, allocations: 3.984 kB / 366.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/0.1492, allocations: 2.675 MB / 369.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1492, allocations: 0 / 369.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.1501, allocations: 195.8 kB / 369.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.1505, allocations: 163.3 kB / 370 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.1506, allocations: 23.98 kB / 370 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.1548, allocations: 5.994 MB / 376 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1548, allocations: 0 / 376 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1631/0.3178, allocations: 1.746 MB / 377.7 MB, free: 51.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.3182, allocations: 160.8 kB / 377.9 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.3185, allocations: 24.84 kB / 377.9 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.3192, allocations: 46.02 kB / 377.9 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.3194, allocations: 77.62 kB / 378 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.3195, allocations: 33.28 kB / 378.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000585/0.32, allocations: 442.1 kB / 378.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3201, allocations: 0 / 378.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009257/0.321, allocations: 255.2 kB / 378.7 MB, free: 51.19 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 (104): * Single equations (assignments): 100 * 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.0001849/0.3212, allocations: 136.2 kB / 378.9 MB, free: 51.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.3242, allocations: 1.381 MB / 380.2 MB, free: 50.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3242, allocations: 1.344 kB / 380.3 MB, free: 50.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3256, allocations: 1.002 MB / 381.3 MB, free: 50.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3267, allocations: 187.8 kB / 381.4 MB, free: 50.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.3312, allocations: 2.598 MB / 384 MB, free: 49.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.3319, allocations: 1.022 MB / 385.1 MB, free: 48.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006838/0.3326, allocations: 119.7 kB / 385.2 MB, free: 48.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3329, allocations: 77.77 kB / 385.2 MB, free: 48.34 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3329, allocations: 0 / 385.2 MB, free: 48.34 MB / 318.1 MB Notification: Performance of Templates: time 0.022/0.3549, allocations: 11.78 MB / 397 MB, free: 44.57 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches