Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.002527/0.002527, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002941/0.002941, allocations: 165.3 kB / 24.28 MB, free: 148 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 1.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3429/0.3429, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.536e-05, allocations: 10.31 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003594/0.00363, allocations: 1.646 MB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004978, allocations: 0.5414 MB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.005046, allocations: 0 / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.005385, allocations: 99.67 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.005737, allocations: 107.5 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.006035, allocations: 99.62 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.006252, allocations: 107.7 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.006378, allocations: 23.98 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006487, allocations: 47.89 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.00662, allocations: 59.86 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.006654, allocations: 4 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.006773, allocations: 51.91 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.006845, allocations: 23.92 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.006894, allocations: 27.84 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.0072, allocations: 127.5 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.007205, allocations: 0 / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007207, allocations: 0 / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.007213, allocations: 0 / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007389/0.007952, allocations: 471.4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.007998, allocations: 12.03 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.00807, allocations: 20.84 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.00831, allocations: 156.4 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.008321, allocations: 384 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.008349, allocations: 8.375 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.008567, allocations: 66.17 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.008582, allocations: 4.125 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.008599, allocations: 8.125 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.008603, allocations: 0 / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.008722, allocations: 35.97 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.009285, allocations: 343.6 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.009441, allocations: 66.98 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.009517, allocations: 23.83 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.009548, allocations: 4 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.009587, allocations: 41.38 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.009588, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.0107, allocations: 296.8 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.01079, allocations: 51.41 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.01107, allocations: 262.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.0111, allocations: 25.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01123, allocations: 170.8 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.01129, allocations: 43.58 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.01135, allocations: 39.36 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.01167, allocations: 0.5079 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.01176, allocations: 35.98 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.01185, allocations: 31.98 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01204, allocations: 91.7 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01204, allocations: 7.938 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002672/0.01231, allocations: 133.6 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01233, allocations: 4 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01233, allocations: 4 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01235, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.01249, allocations: 23.98 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.0125, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.01254, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01256, allocations: 7.922 kB / 383.2 MB, free: 12.81 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 (13): * Single equations (assignments): 13 * 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 0.0001462/0.0127, allocations: 172.5 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.01275, allocations: 15.91 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.01312, allocations: 154.7 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01312, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01313, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.01314, allocations: 7.984 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.01394, allocations: 484.8 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01394, allocations: 0 / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.01403, allocations: 23.98 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01404, allocations: 3.938 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01405, allocations: 7.938 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01405, allocations: 4 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01406, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.01445, allocations: 291.4 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.01447, allocations: 15.98 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.0145, allocations: 7.938 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.01457, allocations: 7.984 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.01462, allocations: 7.984 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01463, allocations: 8 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.01481, allocations: 185.1 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01481, allocations: 0 / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.01508, allocations: 35.88 kB / 384.6 MB, free: 11.33 MB / 362.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 (13): * Single equations (assignments): 13 * 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.003283/0.01836, allocations: 0.4924 MB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.01864, allocations: 99.33 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01865, allocations: 4 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01876, allocations: 51.61 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.01909, allocations: 34.7 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.01977, allocations: 292.7 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.01991, allocations: 105.1 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.01998, allocations: 16.48 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.02003, allocations: 24.48 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02003, allocations: 3.938 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Templates: time 0.005861/0.02589, allocations: 1.55 MB / 387.3 MB, free: 8.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.136570303002372]