Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0009913/0.0009913, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001477/0.001477, allocations: 161 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.9394/0.9394, allocations: 177.1 MB / 205 MB, free: 5.598 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.2665/0.2665, allocations: 32.81 MB / 294.3 MB, free: 1.203 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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.51e-05, allocations: 10.19 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001861/0.001876, allocations: 1.645 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.002564, allocations: 0.5298 MB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.002613, allocations: 0 / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.002795, allocations: 27.78 kB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.003049, allocations: 79.56 kB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.003692, allocations: 83.7 kB / 378.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003818, allocations: 79.69 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.003899, allocations: 8 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.003954, allocations: 31.91 kB / 378.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.004002, allocations: 15.94 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.004015, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.00408, allocations: 39.91 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.004119, allocations: 15.92 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.004143, allocations: 8 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.004267, allocations: 71.67 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004269, allocations: 4 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.00427, allocations: 0 / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004274, allocations: 0 / 378.7 MB, free: 1.98 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.0003507/0.004624, allocations: 408.2 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.004656, allocations: 8.031 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.004693, allocations: 12.89 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004811, allocations: 136.5 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.004819, allocations: 384 / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.004838, allocations: 8.375 kB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.004934, allocations: 50.95 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.004943, allocations: 4.172 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004954, allocations: 12.06 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.00496, allocations: 0 / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.004987, allocations: 4 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.00523, allocations: 267.8 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.005377, allocations: 47.05 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.005396, allocations: 11.62 kB / 379.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.005418, allocations: 11.92 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.005438, allocations: 37.39 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005439, allocations: 0 / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002982/0.005738, allocations: 101.5 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.005769, allocations: 55.39 kB / 379.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.00587, allocations: 200.7 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.005879, allocations: 25.7 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.005923, allocations: 146.9 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.005941, allocations: 19.8 kB / 380.2 MB, free: 276 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.005966, allocations: 27.38 kB / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.006076, allocations: 0.4884 MB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.006091, allocations: 4 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.006104, allocations: 7.938 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.00614, allocations: 27.67 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006141, allocations: 0 / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.796e-05/0.006209, allocations: 73.7 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.00622, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006224, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006235, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.006271, allocations: 8 kB / 380.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.006275, allocations: 4 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.006292, allocations: 3.984 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006297, allocations: 4 kB / 380.9 MB, free: 15.59 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.978e-05/0.006357, allocations: 156.6 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.006375, allocations: 11.89 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.925e-05/0.006474, allocations: 70.08 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.006476, allocations: 0 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.006479, allocations: 0 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006481, allocations: 4 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.006677, allocations: 317.4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006678, allocations: 0 / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.006705, allocations: 15.92 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006706, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006712, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006713, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006714, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.832e-05/0.006802, allocations: 211.8 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.006809, allocations: 3.953 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.00682, allocations: 4.25 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.006851, allocations: 15.98 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.006876, allocations: 4 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.006879, allocations: 0 / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.006931, allocations: 147.2 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.007081, allocations: 19.94 kB / 381.8 MB, free: 14.55 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.0007323/0.007814, allocations: 390.6 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.968e-05/0.007893, allocations: 31.67 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007894, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.007913, allocations: 15.69 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.008102, allocations: 23.92 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.008384, allocations: 174.5 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.008416, allocations: 63.34 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.008443, allocations: 11.97 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.008467, allocations: 16.5 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008467, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002682/0.01115, allocations: 1.233 MB / 383.8 MB, free: 12.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.871040735859424]