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.001226/0.001226, allocations: 108.4 kB / 18.34 MB, free: 4.73 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.001206/0.001205, allocations: 191 kB / 19.28 MB, free: 3.797 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.323/1.323, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.00119/0.00119, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09216, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007606/0.0998, allocations: 6.334 MB / 335.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1035, allocations: 2.136 MB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004876/0.104, allocations: 19.94 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.1048, allocations: 353.8 kB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009208/0.1057, allocations: 484.6 kB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.1065, allocations: 431.4 kB / 338.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.108, allocations: 1.546 MB / 340 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.1087, allocations: 0.513 MB / 340.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.1093, allocations: 0.5684 MB / 341.1 MB, free: 7.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.11, allocations: 0.6615 MB / 341.7 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.1102, allocations: 160 kB / 341.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1105, allocations: 188 kB / 342.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.1107, allocations: 327 kB / 342.4 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.1113, allocations: 0.6687 MB / 343.1 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.1129, allocations: 1.927 MB / 345 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1129, allocations: 0 / 345 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1129, allocations: 0 / 345 MB, free: 3.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.113, allocations: 0 / 345 MB, free: 3.383 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.003028/0.116, allocations: 1.546 MB / 346.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.116, allocations: 8.031 kB / 346.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.1163, allocations: 135.3 kB / 346.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1175, allocations: 0.7084 MB / 347.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.1175, allocations: 74.38 kB / 347.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1177, allocations: 100.1 kB / 347.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.1195, allocations: 1.009 MB / 348.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1196, allocations: 4 kB / 348.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.1197, allocations: 40 kB / 348.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.1197, allocations: 24 kB / 348.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.1217, allocations: 0.8834 MB / 349.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.1267, allocations: 3.629 MB / 353.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.1297, allocations: 0.9065 MB / 354.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.1305, allocations: 370.5 kB / 354.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1305, allocations: 15.98 kB / 354.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1306, allocations: 43.16 kB / 354.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.934e-06/0.1306, allocations: 0 / 354.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004668/0.1352, allocations: 1.78 MB / 356.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1353, allocations: 89.09 kB / 356.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.1365, allocations: 0.9702 MB / 357.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.1366, allocations: 41.7 kB / 357.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.137, allocations: 0.526 MB / 357.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.1371, allocations: 228.7 kB / 358.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.1374, allocations: 154.5 kB / 358.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1375, allocations: 341.9 kB / 358.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/0.1384, allocations: 341.8 kB / 358.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009575/0.1394, allocations: 0.5261 MB / 359.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.1411, allocations: 0.8329 MB / 360.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1412, allocations: 0 / 360.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002256/0.1434, allocations: 1.009 MB / 361.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1435, allocations: 15.97 kB / 361.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1435, allocations: 4 kB / 361.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.384e-05/0.1435, allocations: 15.94 kB / 361.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.1448, allocations: 287.5 kB / 361.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.1448, allocations: 11.98 kB / 361.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.1457, allocations: 67.94 kB / 361.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.1458, allocations: 35.98 kB / 361.7 MB, free: 2.113 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.0004384/0.1462, allocations: 282.7 kB / 362 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1464, allocations: 102.8 kB / 362.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.1473, allocations: 386.1 kB / 362.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.1473, allocations: 8 kB / 362.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1473, allocations: 4 kB / 362.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1474, allocations: 3.984 kB / 362.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/0.1515, allocations: 2.29 MB / 364.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.1515, allocations: 4 kB / 364.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.1524, allocations: 216.4 kB / 365 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.1524, allocations: 8 kB / 365 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.1525, allocations: 23.98 kB / 365 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.1525, allocations: 15.94 kB / 365 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.1525, allocations: 15.88 kB / 365.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1542, allocations: 1.026 MB / 366.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.1544, allocations: 187.8 kB / 366.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.1545, allocations: 23.94 kB / 366.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.1552, allocations: 51.95 kB / 366.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1553, allocations: 63.75 kB / 366.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.1554, allocations: 31.98 kB / 366.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000878/0.1563, allocations: 0.6747 MB / 367.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1563, allocations: 0 / 367.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008154/0.1571, allocations: 208 kB / 367.3 MB, free: 12.24 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.0008749/0.158, allocations: 382 kB / 367.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.1598, allocations: 0.7654 MB / 368.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1598, allocations: 0 / 368.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.1606, allocations: 381 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.001161/0.1618, allocations: 207.4 kB / 369 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.165, allocations: 1.886 MB / 370.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.1656, allocations: 1.03 MB / 371.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.1661, allocations: 119.2 kB / 372.1 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.1664, allocations: 75.41 kB / 372.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1664, allocations: 0 / 372.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of Templates: time 0.1713/0.3377, allocations: 10.55 MB / 382.7 MB, free: 49.04 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 gbode -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