Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9612/0.9612, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3115/0.3115, allocations: 32.8 MB / 294.3 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.521e-05, allocations: 2.312 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00235/0.002385, allocations: 1.642 MB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007626/0.003147, allocations: 0.5414 MB / 378.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.003203, allocations: 0 / 378.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.003435, allocations: 31.83 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.003704, allocations: 75.56 kB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.003936, allocations: 123.5 kB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.00406, allocations: 67.75 kB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.004143, allocations: 8 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.004194, allocations: 31.91 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.004243, allocations: 12 kB / 378.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.004255, allocations: 7.938 kB / 378.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.004329, allocations: 35.91 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.004369, allocations: 15.92 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.004394, allocations: 8 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.004533, allocations: 87.61 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004536, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004537, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004541, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000381/0.004922, allocations: 416.1 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004957, allocations: 8.031 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.005, allocations: 12.89 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.005129, allocations: 141 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.005137, allocations: 384 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.005155, allocations: 4.375 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.005259, allocations: 54.7 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.005274, allocations: 4 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.005284, allocations: 4 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005291, allocations: 4 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.005319, allocations: 7.984 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.005589, allocations: 283.7 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.005743, allocations: 50.98 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.005763, allocations: 7.688 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.005783, allocations: 4 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.005808, allocations: 33.39 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.005809, allocations: 4 kB / 379.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003559/0.006165, allocations: 101.5 kB / 379.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.0062, allocations: 55.41 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.006328, allocations: 212 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00634, allocations: 33.64 kB / 380.1 MB, free: 404 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.006391, allocations: 154.8 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.006409, allocations: 15.78 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.006438, allocations: 27.36 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.006563, allocations: 0.4922 MB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.006581, allocations: 7.984 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.006594, allocations: 12 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.006635, allocations: 23.69 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006636, allocations: 0 / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.282e-05/0.006709, allocations: 61.83 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006722, allocations: 4.938 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006726, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006738, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.00678, allocations: 19.92 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.006785, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.0068, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006808, allocations: 8 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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): 5 * 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 5.946e-05/0.006868, allocations: 160.5 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.006886, allocations: 11.91 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.006991, allocations: 70.14 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006994, allocations: 0 / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.006997, allocations: 0 / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007, allocations: 3.984 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.007217, allocations: 325.4 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007219, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.007246, allocations: 11.98 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007247, allocations: 288 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.007253, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007255, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007255, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.007352, allocations: 215.8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.00736, allocations: 11.94 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.007371, allocations: 4.25 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.007402, allocations: 7.984 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.007427, allocations: 4 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007431, allocations: 3.938 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.007491, allocations: 162 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007491, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.007641, allocations: 15.94 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0007449/0.008386, allocations: 382.2 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.008493, allocations: 39.61 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008495, allocations: 0 / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.008517, allocations: 15.69 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.008717, allocations: 19.97 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.009022, allocations: 186.3 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.009065, allocations: 67.91 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.009106, allocations: 11.98 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.009132, allocations: 16.5 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009132, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002994/0.01213, allocations: 1.27 MB / 383.9 MB, free: 12.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8916341946460307]