Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 101.6 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009319/0.0009319, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1917, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005219/0.1969, allocations: 6.422 MB / 413.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1993, allocations: 2.331 MB / 415.8 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.1996, allocations: 19.94 kB / 415.8 MB, free: 19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.2002, allocations: 318.5 kB / 416.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.2009, allocations: 457.3 kB / 416.6 MB, free: 18.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.2015, allocations: 409.1 kB / 417 MB, free: 17.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008863/0.2024, allocations: 1.448 MB / 418.4 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.2028, allocations: 448.8 kB / 418.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.2031, allocations: 498 kB / 419.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.2036, allocations: 0.6144 MB / 420 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2037, allocations: 76 kB / 420 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.2039, allocations: 112 kB / 420.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2041, allocations: 243 kB / 420.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.2044, allocations: 0.5867 MB / 421 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009279/0.2053, allocations: 1.857 MB / 422.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2053, allocations: 4 kB / 422.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2054, allocations: 0 / 422.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.2054, allocations: 0 / 422.8 MB, free: 11.95 MB / 298.7 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.002383/0.2078, allocations: 1.546 MB / 424.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.2078, allocations: 8.031 kB / 424.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/0.2082, allocations: 159.3 kB / 424.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.2091, allocations: 0.7083 MB / 425.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.2092, allocations: 74.56 kB / 425.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.2093, allocations: 103.9 kB / 425.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2108, allocations: 1.017 MB / 426.4 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.2109, allocations: 7.906 kB / 426.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.2109, allocations: 40 kB / 426.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2109, allocations: 24 kB / 426.5 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2127, allocations: 0.8835 MB / 427.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.2165, allocations: 3.656 MB / 431.1 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2192, allocations: 0.9021 MB / 432 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.2199, allocations: 369.4 kB / 432.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.2199, allocations: 15.97 kB / 432.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.2199, allocations: 38.56 kB / 432.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 1.913e-06/0.22, allocations: 0 / 432.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004107/0.2241, allocations: 1.792 MB / 434.2 MB, free: 296 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2241, allocations: 89.11 kB / 434.3 MB, free: 188 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2252, allocations: 0.99 MB / 435.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2253, allocations: 37.7 kB / 435.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.2256, allocations: 0.5299 MB / 435.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2258, allocations: 232.6 kB / 436 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.226, allocations: 162.5 kB / 436.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2261, allocations: 334 kB / 436.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008863/0.227, allocations: 341.8 kB / 436.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.228, allocations: 0.5262 MB / 437.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.2298, allocations: 0.8266 MB / 438.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2299, allocations: 4 kB / 438.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002217/0.2321, allocations: 1.017 MB / 439.2 MB, free: 11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2321, allocations: 8 kB / 439.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2321, allocations: 8 kB / 439.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2322, allocations: 12.34 kB / 439.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.2334, allocations: 283.6 kB / 439.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.2334, allocations: 11.94 kB / 439.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.2341, allocations: 75.83 kB / 439.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.2342, allocations: 35.98 kB / 439.7 MB, free: 10.57 MB / 314.7 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.0003481/0.2346, allocations: 293.5 kB / 439.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2347, allocations: 98.81 kB / 440 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009346/0.2357, allocations: 391.5 kB / 440.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2357, allocations: 8 kB / 440.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2357, allocations: 0 / 440.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2357, allocations: 3.984 kB / 440.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.2393, allocations: 2.306 MB / 442.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2394, allocations: 8 kB / 442.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000844/0.2402, allocations: 212.2 kB / 443 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.2402, allocations: 12 kB / 443 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.2403, allocations: 16 kB / 443 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.2403, allocations: 23.86 kB / 443 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2403, allocations: 8 kB / 443 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.2429, allocations: 2.047 MB / 445.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.2431, allocations: 187.8 kB / 445.2 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2432, allocations: 20 kB / 445.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.2438, allocations: 51.89 kB / 445.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2439, allocations: 67.8 kB / 445.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.244, allocations: 24 kB / 445.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007987/0.2448, allocations: 0.6866 MB / 446.1 MB, free: 3.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2448, allocations: 0 / 446.1 MB, free: 3.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.2456, allocations: 211.9 kB / 446.3 MB, free: 3.598 MB / 314.7 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.0007447/0.2464, allocations: 383.6 kB / 446.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.2481, allocations: 0.753 MB / 447.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2481, allocations: 0 / 447.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.2489, allocations: 373.5 kB / 447.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.25, allocations: 196.3 kB / 448 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.2533, allocations: 2.708 MB / 450.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.2539, allocations: 1.034 MB / 451.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005396/0.2544, allocations: 131.2 kB / 451.9 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.2547, allocations: 71.34 kB / 451.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2547, allocations: 0 / 451.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of Templates: time 0.0158/0.2705, allocations: 10.34 MB / 462.3 MB, free: 3.672 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches