Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009768/0.0009768, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001546/0.001546, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2805/0.2805, allocations: 34.26 MB / 296 MB, free: 0.6914 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.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.015e-05, allocations: 2.312 kB / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002547/0.002577, allocations: 1.758 MB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003854, allocations: 1.005 MB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.003942, allocations: 0 / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.004252, allocations: 47.7 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.004601, allocations: 99.47 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.004819, allocations: 79.59 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.00499, allocations: 99.7 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.005084, allocations: 7.984 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.00517, allocations: 59.77 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.005243, allocations: 23.92 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.005258, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.005341, allocations: 43.92 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.005394, allocations: 27.91 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.005435, allocations: 23.86 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.005613, allocations: 95.66 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005615, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005616, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005621, allocations: 0 / 381.5 MB, free: 15.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004594/0.00608, allocations: 443.9 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.006118, allocations: 12.03 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.006165, allocations: 8.891 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.006343, allocations: 156.4 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.006363, allocations: 4.375 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.006385, allocations: 4.375 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.006511, allocations: 62.94 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.006522, allocations: 3.938 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.006531, allocations: 0 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006539, allocations: 0 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.006577, allocations: 19.92 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.00689, allocations: 279.8 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.007013, allocations: 63.09 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.007044, allocations: 23.62 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.007055, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.007161, allocations: 72.97 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.007162, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003955/0.007558, allocations: 157.3 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.007594, allocations: 55.41 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.007725, allocations: 222.6 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.00774, allocations: 33.69 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.007795, allocations: 146.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.007832, allocations: 31.77 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.007868, allocations: 31.38 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.007985, allocations: 0.4962 MB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.008013, allocations: 11.98 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.008049, allocations: 35.36 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.296e-05/0.008112, allocations: 51.25 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008115, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000116/0.008231, allocations: 93.59 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.008245, allocations: 6.188 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00825, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.008264, allocations: 8.031 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.008337, allocations: 19.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008342, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.008372, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.008377, allocations: 0 / 384 MB, free: 12.74 MB / 362.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 7.458e-05/0.008452, allocations: 168.5 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.008468, allocations: 11.95 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.008625, allocations: 107.1 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008627, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008631, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.008636, allocations: 4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.008955, allocations: 392.9 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008957, allocations: 0 / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.008986, allocations: 11.94 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.00899, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.009, allocations: 8.359 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009002, allocations: 3.938 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.009004, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.009152, allocations: 255.4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.009165, allocations: 11.91 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.009183, allocations: 8.031 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.009226, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.009262, allocations: 7.984 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.009275, allocations: 4 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.009353, allocations: 167.8 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009353, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.009538, allocations: 27.92 kB / 385.2 MB, free: 11.48 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: 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.0009688/0.01051, allocations: 430.3 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01063, allocations: 67.56 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01064, allocations: 0 / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.01068, allocations: 35.61 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01093, allocations: 23.92 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.01128, allocations: 222.2 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.01133, allocations: 67.33 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.506e-05/0.01136, allocations: 13.11 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01139, allocations: 20.48 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01139, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003636/0.01503, allocations: 1.872 MB / 387.9 MB, free: 8.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 3.2671700911596417]