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.001267/0.001267, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001339/0.001339, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.365/1.365, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001258/0.001258, allocations: 51.92 kB / 281.3 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09636, allocations: 46.62 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007569/0.104, allocations: 6.347 MB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.1079, allocations: 2.12 MB / 336.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007244/0.1087, allocations: 19.94 kB / 336.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.1096, allocations: 365.8 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.1107, allocations: 476.7 kB / 337.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.1115, allocations: 431.4 kB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.113, allocations: 1.53 MB / 339.2 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.1138, allocations: 0.5208 MB / 339.7 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.1144, allocations: 0.5645 MB / 340.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.1151, allocations: 0.6653 MB / 341 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.1153, allocations: 160 kB / 341.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.1156, allocations: 196 kB / 341.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.1159, allocations: 319 kB / 341.6 MB, free: 6.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.1165, allocations: 0.6649 MB / 342.3 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.1181, allocations: 1.916 MB / 344.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1181, allocations: 0 / 344.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1181, allocations: 4 kB / 344.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.182e-05/0.1181, allocations: 4 kB / 344.2 MB, free: 4.105 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.002945/0.1211, allocations: 1.527 MB / 345.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1211, allocations: 12.03 kB / 345.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.1214, allocations: 131.3 kB / 345.9 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1225, allocations: 0.7006 MB / 346.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.1226, allocations: 86.48 kB / 346.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.1228, allocations: 99.94 kB / 346.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.1247, allocations: 1.009 MB / 347.8 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1247, allocations: 15.98 kB / 347.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.1248, allocations: 36 kB / 347.8 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1248, allocations: 24 kB / 347.8 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.1268, allocations: 0.8835 MB / 348.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.1318, allocations: 3.66 MB / 352.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.1348, allocations: 0.8948 MB / 353.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.1356, allocations: 373.5 kB / 353.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1357, allocations: 8 kB / 353.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1357, allocations: 43.09 kB / 353.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.844e-06/0.1357, allocations: 0 / 353.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00512/0.1408, allocations: 1.788 MB / 355.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1409, allocations: 89.09 kB / 355.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1422, allocations: 0.9702 MB / 356.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.1422, allocations: 41.7 kB / 356.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.1426, allocations: 0.526 MB / 357.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.1428, allocations: 232.7 kB / 357.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.1431, allocations: 154.5 kB / 357.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1432, allocations: 345.9 kB / 357.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/0.1441, allocations: 345.8 kB / 358.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.1452, allocations: 0.5183 MB / 358.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.147, allocations: 0.8444 MB / 359.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.147, allocations: 0 / 359.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002352/0.1494, allocations: 1.013 MB / 360.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1494, allocations: 8 kB / 360.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.1495, allocations: 15.98 kB / 360.6 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.1495, allocations: 8 kB / 360.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.1507, allocations: 287.7 kB / 360.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.1508, allocations: 11.94 kB / 360.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/0.1516, allocations: 71.92 kB / 360.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.1517, allocations: 39.98 kB / 361 MB, free: 2.797 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.0004194/0.1522, allocations: 286.7 kB / 361.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.1523, allocations: 94.81 kB / 361.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1534, allocations: 390.2 kB / 361.7 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1534, allocations: 4 kB / 361.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1535, allocations: 4 kB / 361.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1535, allocations: 3.984 kB / 361.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.1575, allocations: 2.294 MB / 364 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.1576, allocations: 8 kB / 364 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.1585, allocations: 203.7 kB / 364.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.1585, allocations: 8.156 kB / 364.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.1585, allocations: 27.98 kB / 364.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.1586, allocations: 15.88 kB / 364.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.1586, allocations: 11.94 kB / 364.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.1604, allocations: 1.025 MB / 365.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.1607, allocations: 183.9 kB / 365.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.1608, allocations: 23.98 kB / 365.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.1616, allocations: 47.89 kB / 365.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1617, allocations: 75.69 kB / 365.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.1618, allocations: 31.98 kB / 365.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000958/0.1627, allocations: 0.6786 MB / 366.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 4 kB / 366.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008489/0.1636, allocations: 204 kB / 366.6 MB, free: 12.92 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.0009732/0.1646, allocations: 374.5 kB / 366.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.1668, allocations: 0.7914 MB / 367.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.1668, allocations: 1.312 kB / 367.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.1677, allocations: 372 kB / 368.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.1691, allocations: 212.5 kB / 368.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.1729, allocations: 1.958 MB / 370.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.1737, allocations: 1.026 MB / 371.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.174, allocations: 83.41 kB / 371.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.174, allocations: 0 / 371.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of Templates: time 0.1623/0.3363, allocations: 12.9 MB / 384.2 MB, free: 48.42 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 -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