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.000784/0.0007841, allocations: 96.34 kB / 17.3 MB, free: 6.391 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.000827/0.000827, allocations: 173.6 kB / 18.2 MB, free: 5.551 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.362/1.362, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004518/0.0004518, allocations: 12 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007011/0.1078, allocations: 5.863 MB / 334.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.1116, allocations: 2.089 MB / 336.9 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.1121, allocations: 19.94 kB / 336.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.1129, allocations: 302.6 kB / 337.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.114, allocations: 429.4 kB / 337.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.1148, allocations: 391.6 kB / 338 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1164, allocations: 1.432 MB / 339.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1171, allocations: 435.2 kB / 339.9 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.1176, allocations: 466 kB / 340.3 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.1183, allocations: 0.5716 MB / 340.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1184, allocations: 64 kB / 341 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.1187, allocations: 87.98 kB / 341.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1189, allocations: 219 kB / 341.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.1194, allocations: 0.5845 MB / 341.9 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.1209, allocations: 1.786 MB / 343.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1209, allocations: 0 / 343.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.504e-06/0.1209, allocations: 0 / 343.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1209, allocations: 3.938 kB / 343.7 MB, free: 4.969 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.002879/0.1238, allocations: 1.387 MB / 345 MB, free: 3.527 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1239, allocations: 8.031 kB / 345.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1241, allocations: 127.4 kB / 345.2 MB, free: 3.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1252, allocations: 0.7045 MB / 345.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1253, allocations: 74.56 kB / 346 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.1255, allocations: 99.94 kB / 346.1 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.1275, allocations: 1.044 MB / 347.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.1276, allocations: 7.891 kB / 347.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.1277, allocations: 40 kB / 347.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.1277, allocations: 31.92 kB / 347.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.13, allocations: 0.946 MB / 348.1 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.1356, allocations: 3.687 MB / 351.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.139, allocations: 1.094 MB / 352.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.1399, allocations: 401.4 kB / 353.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.1399, allocations: 11.98 kB / 353.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.14, allocations: 39.14 kB / 353.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.14, allocations: 0 / 353.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005245/0.1452, allocations: 1.983 MB / 355.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1453, allocations: 81.11 kB / 355.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1466, allocations: 0.978 MB / 356.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.1466, allocations: 41.69 kB / 356.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.147, allocations: 0.5182 MB / 356.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1472, allocations: 232.6 kB / 357.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1473, allocations: 73.67 kB / 357.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1474, allocations: 338 kB / 357.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.1485, allocations: 385.8 kB / 357.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1496, allocations: 0.5652 MB / 358.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.1516, allocations: 0.9108 MB / 359.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1516, allocations: 0 / 359.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002497/0.1541, allocations: 1.103 MB / 360.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1542, allocations: 4 kB / 360.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1542, allocations: 12.03 kB / 360.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1542, allocations: 8 kB / 360.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.1556, allocations: 315.6 kB / 360.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.1556, allocations: 23.92 kB / 360.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.1565, allocations: 83.94 kB / 361 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.1566, allocations: 39.98 kB / 361 MB, free: 3.07 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.0004378/0.157, allocations: 281.6 kB / 361.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1572, allocations: 102.7 kB / 361.4 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1582, allocations: 430.2 kB / 361.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1583, allocations: 8 kB / 361.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1583, allocations: 0 / 361.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1583, allocations: 3.984 kB / 361.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.1624, allocations: 2.355 MB / 364.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.1624, allocations: 4 kB / 364.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.1633, allocations: 240.5 kB / 364.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.1633, allocations: 8 kB / 364.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.1634, allocations: 27.98 kB / 364.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.1634, allocations: 19.88 kB / 364.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.1634, allocations: 4 kB / 364.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.1652, allocations: 1.076 MB / 365.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.1655, allocations: 187.8 kB / 365.7 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1656, allocations: 24 kB / 365.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.1663, allocations: 67.88 kB / 365.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1664, allocations: 67.75 kB / 365.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.1665, allocations: 27.98 kB / 365.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008926/0.1674, allocations: 0.6786 MB / 366.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1674, allocations: 4 kB / 366.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008337/0.1682, allocations: 212 kB / 366.8 MB, free: 12.99 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.0009176/0.1692, allocations: 373.4 kB / 367.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.1712, allocations: 0.8194 MB / 368 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.1712, allocations: 4 kB / 368 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.1721, allocations: 385.8 kB / 368.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.1742, allocations: 272.4 kB / 368.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.1779, allocations: 2.379 MB / 371 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.1785, allocations: 1.027 MB / 372 MB, free: 7.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006023/0.1791, allocations: 119.2 kB / 372.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.1793, allocations: 87.41 kB / 372.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1794, allocations: 0 / 372.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of Templates: time 0.198/0.3774, allocations: 11.88 MB / 384.1 MB, free: 49.58 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches