Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002088/0.002088, allocations: 165.3 kB / 24.28 MB, free: 152 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.4005/0.4005, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.02e-05, allocations: 9.547 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003457/0.003487, allocations: 1.726 MB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.00549, allocations: 1.005 MB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.005565, allocations: 0 / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.00584, allocations: 43.66 kB / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.006186, allocations: 95.69 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.006418, allocations: 83.59 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.006628, allocations: 103.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.006713, allocations: 15.97 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.006825, allocations: 47.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.006914, allocations: 39.83 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.006935, allocations: 4 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.007036, allocations: 43.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.007095, allocations: 15.94 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.007143, allocations: 19.92 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.007376, allocations: 119.6 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.00738, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007381, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.007395, allocations: 0 / 380.7 MB, free: 15.49 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.0006604/0.008056, allocations: 451.5 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.008092, allocations: 16.03 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.008151, allocations: 16.84 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.008419, allocations: 153.1 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.008435, allocations: 4.359 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.008456, allocations: 4.375 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.008603, allocations: 54.23 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.008617, allocations: 3.938 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.008629, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.008633, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.008712, allocations: 19.92 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.009169, allocations: 299.7 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.009372, allocations: 75.14 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.009435, allocations: 19.62 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.009456, allocations: 4 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.009618, allocations: 76.97 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009619, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.01022, allocations: 177.6 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.01027, allocations: 51.41 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.01065, allocations: 250.4 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.01067, allocations: 25.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01079, allocations: 166.8 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.01082, allocations: 27.78 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.01087, allocations: 27.38 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.01115, allocations: 0.504 MB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.01121, allocations: 23.92 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.01129, allocations: 43.36 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01142, allocations: 71.31 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01142, allocations: 0 / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.01163, allocations: 109.5 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01165, allocations: 8.031 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01165, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01167, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.01176, allocations: 16 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01177, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.01181, allocations: 7.984 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.01182, allocations: 4 kB / 383.4 MB, free: 12.6 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 0.0001359/0.01196, allocations: 164.5 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01199, allocations: 15.91 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.01227, allocations: 119.1 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01227, allocations: 8 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01228, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01228, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.01284, allocations: 420.9 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01284, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.01289, allocations: 11.94 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01289, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.0129, allocations: 4 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0129, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0129, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.01325, allocations: 275.4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01327, allocations: 15.94 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.01329, allocations: 0 / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.01337, allocations: 8 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.01341, allocations: 3.984 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01342, allocations: 4 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.01358, allocations: 188.1 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01358, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.01383, allocations: 23.94 kB / 384.6 MB, free: 11.28 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.003363/0.0172, allocations: 0.4883 MB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.01741, allocations: 67.59 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01741, allocations: 0 / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.0175, allocations: 43.77 kB / 385.2 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.0003581/0.01786, allocations: 32.23 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.0005279/0.01839, allocations: 230 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.01851, allocations: 100.3 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.01856, allocations: 12.97 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.0186, allocations: 16.5 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0186, allocations: 0 / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.005715/0.02432, allocations: 1.87 MB / 387.5 MB, free: 8.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.146378785022534]