Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.00107/0.00107, 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.001384/0.001384, allocations: 161 kB / 24.55 MB, free: 20 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.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.621 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.293/0.293, allocations: 32.8 MB / 294.3 MB, free: 1.207 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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.785e-05, allocations: 2.312 kB / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003991/0.004029, allocations: 1.958 MB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.008845, allocations: 1.044 MB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.009018, allocations: 3.938 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.009442, allocations: 51.58 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.00989, allocations: 103.5 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.01022, allocations: 95.58 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.0105, allocations: 151.5 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.01064, allocations: 21.8 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.0108, allocations: 75.81 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.01093, allocations: 43.81 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.01095, allocations: 4 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.01108, allocations: 51.92 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.01115, allocations: 31.84 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.01124, allocations: 27.92 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.01156, allocations: 131.4 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01157, allocations: 0 / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01157, allocations: 0 / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.01158, allocations: 0 / 379.9 MB, free: 0.7617 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006575/0.01223, allocations: 0.5013 MB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.01227, allocations: 8.031 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.01234, allocations: 24.8 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.0126, allocations: 181.1 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.01263, allocations: 4.375 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.01266, allocations: 8.375 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.0129, allocations: 143.6 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.01291, allocations: 7.938 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.01292, allocations: 0 / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01293, allocations: 0 / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.01301, allocations: 31.73 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.01366, allocations: 0.5794 MB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.0139, allocations: 79.14 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.01396, allocations: 35.59 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01398, allocations: 0 / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.01415, allocations: 98.73 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.01415, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002815/0.01443, allocations: 109.5 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.01447, allocations: 55.41 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.01468, allocations: 247.1 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.0147, allocations: 33.7 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.0148, allocations: 166.8 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.01483, allocations: 31.73 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.01489, allocations: 31.38 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01505, allocations: 0.5 MB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.0151, allocations: 23.92 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.01517, allocations: 58.42 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.01528, allocations: 90.36 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01529, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002055/0.01549, allocations: 109.5 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01551, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01552, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01554, allocations: 4 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.01563, allocations: 19.94 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01564, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.0157, allocations: 15.92 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01571, allocations: 8.125 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001059/0.01581, allocations: 164.5 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.01584, allocations: 19.84 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.01605, allocations: 107.1 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01606, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01606, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01607, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.01623, allocations: 168.5 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01623, allocations: 3.938 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.01631, allocations: 15.98 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.01632, allocations: 8 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01633, allocations: 0 / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01633, allocations: 0 / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01633, allocations: 0 / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.01659, allocations: 160.8 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01662, allocations: 19.84 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01664, allocations: 4 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.01669, allocations: 7.984 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01674, allocations: 7.984 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.01676, allocations: 4 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.01687, allocations: 175.2 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01687, allocations: 0 / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.01712, allocations: 27.94 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001174/0.0183, allocations: 387.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01847, allocations: 67.53 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01847, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.01854, allocations: 35.61 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.01882, allocations: 39.89 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01941, allocations: 254 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.01946, allocations: 72.08 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.01953, allocations: 17.48 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.01958, allocations: 20.5 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01958, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.005307/0.02489, allocations: 2.071 MB / 386.9 MB, free: 9.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/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: 3.4606053777970374]