Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 176.5 kB / 17.03 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 241 MB, free: 11.8 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007282/0.0007282, allocations: 87.69 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002387, allocations: 11.94 kB / 351.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.215, allocations: 50.39 MB / 402.2 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004483/0.2196, allocations: 5.586 MB / 407.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.2219, allocations: 2.068 MB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.2223, allocations: 19.94 kB / 409.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.2228, allocations: 306.5 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.2234, allocations: 409.4 kB / 410.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.224, allocations: 268.1 kB / 410.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008137/0.2248, allocations: 1.378 MB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.2252, allocations: 383.6 kB / 412.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.2255, allocations: 442.3 kB / 413 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.2259, allocations: 0.5407 MB / 413.6 MB, free: 21.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.226, allocations: 60 kB / 413.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2262, allocations: 91.94 kB / 413.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2264, allocations: 215.1 kB / 413.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2265, allocations: 253.1 kB / 414.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008054/0.2273, allocations: 1.523 MB / 415.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2273, allocations: 4 kB / 415.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2273, allocations: 0 / 415.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2274, allocations: 0 / 415.7 MB, free: 19.03 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.002238/0.2296, allocations: 1.383 MB / 417.1 MB, free: 17.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2296, allocations: 12.03 kB / 417.1 MB, free: 17.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2298, allocations: 126.5 kB / 417.2 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.2306, allocations: 0.6842 MB / 417.9 MB, free: 16.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.2308, allocations: 82 kB / 418 MB, free: 16.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2309, allocations: 92 kB / 418.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.2325, allocations: 1.033 MB / 419.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2326, allocations: 7.938 kB / 419.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/0.2327, allocations: 40 kB / 419.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2327, allocations: 28 kB / 419.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.2345, allocations: 0.9381 MB / 420.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.2386, allocations: 3.684 MB / 423.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.2414, allocations: 1.101 MB / 424.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.2421, allocations: 396.3 kB / 425.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.2421, allocations: 8.188 kB / 425.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2422, allocations: 46.73 kB / 425.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 1.934e-06/0.2422, allocations: 0 / 425.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004226/0.2464, allocations: 1.974 MB / 427.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.2464, allocations: 85.11 kB / 427.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.2474, allocations: 0.9664 MB / 428.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.2474, allocations: 37.7 kB / 428.4 MB, free: 5.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.2477, allocations: 0.5298 MB / 428.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2478, allocations: 228.8 kB / 429.1 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.2478, allocations: 12 kB / 429.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.2479, allocations: 341.9 kB / 429.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.2487, allocations: 381.8 kB / 429.9 MB, free: 4.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.2496, allocations: 0.5575 MB / 430.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.2504, allocations: 418 kB / 430.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2505, allocations: 4 kB / 430.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001951/0.2524, allocations: 1.096 MB / 431.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2524, allocations: 8 kB / 431.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2525, allocations: 4 kB / 431.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2525, allocations: 12 kB / 432 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2536, allocations: 323.5 kB / 432.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2536, allocations: 11.94 kB / 432.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.2544, allocations: 91.92 kB / 432.4 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.2544, allocations: 35.98 kB / 432.4 MB, free: 1.855 MB / 298.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_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.2547, allocations: 286.5 kB / 432.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2549, allocations: 102.7 kB / 432.8 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.2557, allocations: 437.7 kB / 433.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2557, allocations: 12 kB / 433.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2558, allocations: 0 / 433.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2558, allocations: 0 / 433.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.259, allocations: 2.339 MB / 435.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2591, allocations: 8 kB / 435.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.2599, allocations: 227.8 kB / 435.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.2599, allocations: 12 kB / 435.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.26, allocations: 27.92 kB / 435.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.26, allocations: 11.94 kB / 435.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.26, allocations: 15.94 kB / 435.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.2615, allocations: 1.068 MB / 436.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.2617, allocations: 187.9 kB / 437.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2618, allocations: 16 kB / 437.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.2624, allocations: 71.94 kB / 437.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.2625, allocations: 59.83 kB / 437.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.2626, allocations: 28 kB / 437.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007684/0.2634, allocations: 0.6786 MB / 438 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2634, allocations: 0 / 438 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006482/0.264, allocations: 208 kB / 438.2 MB, free: 11.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007434/0.2648, allocations: 395.7 kB / 438.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.2665, allocations: 0.8118 MB / 439.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2665, allocations: 0.6875 kB / 439.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.2672, allocations: 401.1 kB / 439.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2683, allocations: 180 kB / 439.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.2713, allocations: 2.312 MB / 442.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.2719, allocations: 1.018 MB / 443.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2721, allocations: 79.41 kB / 443.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2721, allocations: 0 / 443.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of Templates: time 0.0153/0.2874, allocations: 12.78 MB / 456.1 MB, free: 9.883 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches