Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002581/0.002581, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 83.81 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3614, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003431/0.3648, allocations: 1.696 MB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.365, allocations: 91.66 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3651, allocations: 4 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.188e-05/0.3652, allocations: 11.86 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.3652, allocations: 19.8 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.3654, allocations: 27.95 kB / 0.563 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3655, allocations: 107.6 kB / 0.5631 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.3657, allocations: 39.95 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.3658, allocations: 43.86 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.3659, allocations: 43.77 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3659, allocations: 12 kB / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.3659, allocations: 12 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.366, allocations: 27.92 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.366, allocations: 39.86 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3662, allocations: 121.9 kB / 0.5634 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3662, allocations: 4 kB / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3662, allocations: 0 / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3662, allocations: 0 / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006491/0.3669, allocations: 341.9 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3669, allocations: 16.03 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3669, allocations: 8.891 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.367, allocations: 118.4 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3671, allocations: 8.375 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3671, allocations: 16.3 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.3674, allocations: 118.2 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3675, allocations: 192 / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3675, allocations: 15.88 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3675, allocations: 0 / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3678, allocations: 107.8 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.3686, allocations: 391.1 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3688, allocations: 82.52 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3691, allocations: 60.94 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3691, allocations: 3.938 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3691, allocations: 34.5 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3691, allocations: 0 / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008241/0.37, allocations: 194.3 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.37, allocations: 51.41 kB / 0.5649 GB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3702, allocations: 121.8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3702, allocations: 25.7 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.3703, allocations: 104 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3703, allocations: 23.8 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.3703, allocations: 21.72 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3705, allocations: 322.8 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3707, allocations: 31.97 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.3708, allocations: 66.5 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3712, allocations: 102.4 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3712, allocations: 0 / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.3716, allocations: 150.5 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3716, allocations: 4 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3716, allocations: 0 / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.3718, allocations: 28.91 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3719, allocations: 19.97 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3731, allocations: 1.268 MB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.3732, allocations: 12.02 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3732, allocations: 8 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3733, allocations: 122 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3733, allocations: 11.94 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3734, allocations: 12.31 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3734, allocations: 7.922 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3734, allocations: 0 / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3734, allocations: 0 / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.374, allocations: 359.7 kB / 0.5676 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.374, allocations: 4.031 kB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.3741, allocations: 15.98 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-05/0.3742, allocations: 25.22 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3742, allocations: 0 / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.3752, allocations: 1.276 MB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3752, allocations: 0 / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.3757, allocations: 241.1 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.3757, allocations: 11.89 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3757, allocations: 3.984 kB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3758, allocations: 11.98 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3759, allocations: 12.12 kB / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3759, allocations: 3.984 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.3759, allocations: 91.27 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3759, allocations: 8 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3762, allocations: 23.94 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.3763, allocations: 91.25 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.3769, allocations: 206.5 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3769, allocations: 128 / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.3771, allocations: 166.5 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3775, allocations: 7.938 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.378, allocations: 216 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.3781, allocations: 85.39 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.3781, allocations: 3.75 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.3781, allocations: 11.44 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3781, allocations: 0 / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Templates: time 0.00446/0.3826, allocations: 1.23 MB / 0.5712 GB, free: 9.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282503936439753]