Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001119/0.001119, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00112/0.00112, allocations: 169 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1597/0.1597, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.858e-05, allocations: 12.16 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002637/0.002666, allocations: 1.738 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003884, allocations: 0.7842 MB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004, allocations: 4 kB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.004436, allocations: 39.77 kB / 350.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.004726, allocations: 59.69 kB / 350.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.005004, allocations: 83.7 kB / 350.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005191, allocations: 99.69 kB / 350.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.00532, allocations: 4.234 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.005416, allocations: 59.75 kB / 350.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.005508, allocations: 23.92 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.005533, allocations: 4 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.005625, allocations: 47.91 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.005688, allocations: 19.92 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.005731, allocations: 15.94 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.005915, allocations: 103.5 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005918, allocations: 8 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005919, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.005924, allocations: 0 / 350.8 MB, free: 6.598 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004594/0.006384, allocations: 439.9 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.006428, allocations: 8.031 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.006481, allocations: 12.89 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.006645, allocations: 148.4 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.006665, allocations: 384 / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.006688, allocations: 12.33 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.00682, allocations: 62.88 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006832, allocations: 7.938 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006843, allocations: 0 / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.006854, allocations: 4 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.006895, allocations: 7.984 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.007235, allocations: 283.8 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.007353, allocations: 51.11 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.007387, allocations: 23.61 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.007404, allocations: 4 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.007507, allocations: 65.05 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.007508, allocations: 4 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004241/0.007933, allocations: 153.3 kB / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.007962, allocations: 51.41 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.008079, allocations: 228 kB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.00809, allocations: 29.7 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.00813, allocations: 146.9 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.008157, allocations: 35.72 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.008191, allocations: 27.38 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.00825, allocations: 0.4962 MB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.008273, allocations: 12.36 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.008305, allocations: 39.31 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.008358, allocations: 51.3 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.00836, allocations: 4 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.424e-05/0.008454, allocations: 85.58 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008468, allocations: 4 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.008476, allocations: 7.984 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.008492, allocations: 0 / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.008573, allocations: 19.98 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.00858, allocations: 32 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.00861, allocations: 8 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.008617, allocations: 4 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.541e-05/0.008683, allocations: 168.4 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.008698, allocations: 15.91 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.008845, allocations: 106.5 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008847, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.008853, allocations: 3.984 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008858, allocations: 0 / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.009114, allocations: 389 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009116, allocations: 4.031 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.00914, allocations: 8 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009143, allocations: 4 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.009153, allocations: 4 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.009154, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009156, allocations: 4 kB / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.009276, allocations: 255.4 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.009287, allocations: 11.94 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.009305, allocations: 4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.009344, allocations: 4 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.009385, allocations: 11.98 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.009397, allocations: 7.938 kB / 354.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.009451, allocations: 168 kB / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009451, allocations: 0 / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000175/0.009626, allocations: 23.94 kB / 354.5 MB, free: 2.625 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009383/0.01056, allocations: 446.5 kB / 354.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01069, allocations: 51.55 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01069, allocations: 4 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.01073, allocations: 35.73 kB / 355 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01097, allocations: 27.88 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.01131, allocations: 225.6 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.01135, allocations: 67.34 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.01139, allocations: 16.47 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.01142, allocations: 16.5 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01142, allocations: 4.062 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.003517/0.01494, allocations: 1.844 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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: 4.009135066065937]