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.001019/0.001019, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.002143, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006976/0.0006976, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009431/0.001641, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9569/0.9569, allocations: 177.5 MB / 190 MB, free: 4.746 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1253/1.082, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] 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.2439/0.2439, allocations: 34.88 MB / 279.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02611/0.2701, allocations: 13.24 MB / 292.8 MB, free: 6.34 MB / 282.7 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 1.583e-06/1.583e-06, allocations: 0 / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.513e-05, allocations: 3.953 kB / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003717/0.003742, allocations: 1.815 MB / 295.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.00395, allocations: 103.6 kB / 296 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.004002, allocations: 4 kB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.004055, allocations: 11.86 kB / 296 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.004116, allocations: 19.8 kB / 296 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.245e-05/0.004208, allocations: 27.95 kB / 296.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004352, allocations: 115.5 kB / 296.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.004488, allocations: 35.91 kB / 296.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004623, allocations: 79.86 kB / 296.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.004706, allocations: 43.88 kB / 296.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.004737, allocations: 12 kB / 296.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.004756, allocations: 12 kB / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.004786, allocations: 15.94 kB / 296.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.004826, allocations: 27.94 kB / 296.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004965, allocations: 67.77 kB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.004976, allocations: 0 / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004977, allocations: 0 / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.004988, allocations: 0 / 296.5 MB, free: 2.676 MB / 282.7 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.0004759/0.005463, allocations: 337.4 kB / 296.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.005502, allocations: 8.031 kB / 296.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.005546, allocations: 16.92 kB / 296.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.00565, allocations: 117.6 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.005664, allocations: 8.375 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.005682, allocations: 8.375 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.005869, allocations: 98.77 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005878, allocations: 192 / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.005891, allocations: 8.359 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005899, allocations: 4.375 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.005953, allocations: 23.94 kB / 297.1 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.006486, allocations: 311 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.00658, allocations: 42.56 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.006662, allocations: 28.84 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.006671, allocations: 0 / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.006691, allocations: 30.56 kB / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.006692, allocations: 0 / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003087/0.007001, allocations: 98.5 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.007031, allocations: 55.41 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.007104, allocations: 119.6 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.007115, allocations: 29.7 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.007164, allocations: 107.9 kB / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007183, allocations: 23.84 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.00722, allocations: 25.64 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.007302, allocations: 314.8 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.007321, allocations: 4 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.007357, allocations: 34.5 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.00741, allocations: 38.55 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007413, allocations: 0 / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001304/0.007543, allocations: 78.34 kB / 298.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.007557, allocations: 6.812 kB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.007562, allocations: 4 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.007691, allocations: 20.91 kB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.007764, allocations: 15.98 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.01455, allocations: 1.178 MB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.0146, allocations: 8 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.0146, allocations: 320 / 299.6 MB, free: 15.24 MB / 298.7 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 6.143e-05/0.01466, allocations: 117.8 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.01469, allocations: 11.98 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.269e-05/0.0147, allocations: 12.47 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.0147, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01471, allocations: 8 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01471, allocations: 3.938 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.01495, allocations: 236.4 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01496, allocations: 4 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.01499, allocations: 11.98 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.015, allocations: 3.938 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.806e-05/0.01507, allocations: 24.88 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.01507, allocations: 7.938 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005409/0.01561, allocations: 1.173 MB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01562, allocations: 4 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.01573, allocations: 173.1 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.01574, allocations: 0 / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.0158, allocations: 7.984 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.01583, allocations: 11.98 kB / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.01583, allocations: 4.031 kB / 301.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.696e-05/0.01585, allocations: 20.5 kB / 301.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01585, allocations: 0 / 301.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.01605, allocations: 27.95 kB / 301.5 MB, free: 13.23 MB / 298.7 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 6.699e-05/0.01612, allocations: 76.36 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.01629, allocations: 155.6 kB / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.0163, allocations: 0 / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.01638, allocations: 139.6 kB / 301.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01657, allocations: 71.33 kB / 301.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.02326, allocations: 223.3 kB / 302.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.0233, allocations: 67.34 kB / 302.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.02333, allocations: 4.094 kB / 302.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.02339, allocations: 55.38 kB / 302.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02339, allocations: 3.938 kB / 302.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Templates: time 0.008927/0.03232, allocations: 1.162 MB / 303.4 MB, free: 11.21 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8810604317113757]