Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001161, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00121/0.00121, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.453/1.453, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001323/0.001323, allocations: 55.91 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00849/0.1104, allocations: 6.345 MB / 335.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.1145, allocations: 2.139 MB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.1152, allocations: 16 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.116, allocations: 353.8 kB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1171, allocations: 476.7 kB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008549/0.1179, allocations: 447.2 kB / 338.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1194, allocations: 1.538 MB / 340 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.1201, allocations: 0.5169 MB / 340.5 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.1208, allocations: 0.5684 MB / 341.1 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.1216, allocations: 0.6576 MB / 341.7 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.1218, allocations: 163.9 kB / 341.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.1221, allocations: 196 kB / 342.1 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.1224, allocations: 323 kB / 342.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.123, allocations: 0.6649 MB / 343.1 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1247, allocations: 1.92 MB / 345 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1247, allocations: 0 / 345 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1247, allocations: 4 kB / 345 MB, free: 3.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1247, allocations: 0 / 345 MB, free: 3.379 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002943/0.1277, allocations: 1.542 MB / 346.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1277, allocations: 12.03 kB / 346.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.1279, allocations: 131.3 kB / 346.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1292, allocations: 0.7123 MB / 347.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.1293, allocations: 74.38 kB / 347.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1294, allocations: 104.1 kB / 347.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1313, allocations: 1.005 MB / 348.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1313, allocations: 3.984 kB / 348.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.1314, allocations: 40 kB / 348.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.1314, allocations: 31.92 kB / 348.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.1333, allocations: 0.8835 MB / 349.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.1384, allocations: 3.621 MB / 353.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.1412, allocations: 0.9064 MB / 354.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.142, allocations: 365.5 kB / 354.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.134e-05/0.1421, allocations: 8 kB / 354.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1421, allocations: 43.16 kB / 354.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.866e-06/0.1421, allocations: 4 kB / 354.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00483/0.147, allocations: 1.776 MB / 356.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.147, allocations: 97.05 kB / 356.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1483, allocations: 0.9663 MB / 357.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.1483, allocations: 41.7 kB / 357.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.1487, allocations: 0.526 MB / 357.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1489, allocations: 232.7 kB / 358.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.1491, allocations: 158.5 kB / 358.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1493, allocations: 338 kB / 358.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/0.1502, allocations: 341.8 kB / 358.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.1511, allocations: 0.5262 MB / 359.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.1528, allocations: 0.8367 MB / 360.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1528, allocations: 4 kB / 360.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002301/0.1551, allocations: 1.013 MB / 361.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.1551, allocations: 8.281 kB / 361.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1552, allocations: 12 kB / 361.3 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.1552, allocations: 8 kB / 361.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.1564, allocations: 283.6 kB / 361.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.1565, allocations: 19.98 kB / 361.6 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/0.1572, allocations: 59.94 kB / 361.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.1573, allocations: 43.92 kB / 361.7 MB, free: 2.105 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004045/0.1577, allocations: 286.6 kB / 362 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.1579, allocations: 98.81 kB / 362.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.1588, allocations: 382.2 kB / 362.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1588, allocations: 4 kB / 362.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1588, allocations: 4 kB / 362.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.1588, allocations: 3.984 kB / 362.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.1625, allocations: 2.286 MB / 364.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.1625, allocations: 8 kB / 364.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.1634, allocations: 212.2 kB / 365 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.1634, allocations: 12 kB / 365 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.1634, allocations: 23.98 kB / 365 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.1635, allocations: 8 kB / 365 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.1635, allocations: 15.88 kB / 365 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1651, allocations: 1.026 MB / 366.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.1653, allocations: 195.8 kB / 366.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1654, allocations: 23.94 kB / 366.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.1661, allocations: 51.95 kB / 366.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.1662, allocations: 63.75 kB / 366.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.1663, allocations: 35.98 kB / 366.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008645/0.1671, allocations: 0.6708 MB / 367.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.1672, allocations: 0 / 367.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007997/0.168, allocations: 215.9 kB / 367.3 MB, free: 12.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008869/0.1689, allocations: 374.6 kB / 367.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.1707, allocations: 0.765 MB / 368.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.1707, allocations: 4.438 kB / 368.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.1715, allocations: 377 kB / 368.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1726, allocations: 199.6 kB / 369 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.1757, allocations: 1.894 MB / 370.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.1764, allocations: 1.026 MB / 371.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.1769, allocations: 123.2 kB / 372.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.1772, allocations: 75.41 kB / 372.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1772, allocations: 0 / 372.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of Templates: time 0.1987/0.3759, allocations: 10.56 MB / 382.7 MB, free: 49.05 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches