Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001287/0.001287, allocations: 84 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001364/0.001364, allocations: 164 kB / 23.95 MB, free: 4.156 MB / 14.72 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.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2136/0.2136, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.503e-05, allocations: 2.281 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002832/0.002857, allocations: 1.715 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.004626, allocations: 0.9664 MB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.004689, allocations: 4 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.004949, allocations: 43.77 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.00525, allocations: 99.47 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.005455, allocations: 79.55 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.00565, allocations: 115.6 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.005734, allocations: 4 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.00584, allocations: 51.84 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.00592, allocations: 27.89 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.00594, allocations: 4 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.00604, allocations: 43.98 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.006101, allocations: 27.84 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.006149, allocations: 19.94 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.006356, allocations: 119.5 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006358, allocations: 3.938 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006358, allocations: 0 / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.006362, allocations: 7.875 kB / 443.5 MB, free: 4.73 MB / 366.1 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.0005643/0.006926, allocations: 345.6 kB / 443.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.006962, allocations: 12.03 kB / 443.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.007001, allocations: 8.891 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.007254, allocations: 165.5 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.007267, allocations: 384 / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.007291, allocations: 4.375 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.007442, allocations: 54.23 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.007455, allocations: 3.938 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.007464, allocations: 0 / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007472, allocations: 7.984 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.007548, allocations: 23.92 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.007899, allocations: 236.6 kB / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.008087, allocations: 54.67 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.008149, allocations: 24.78 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.008165, allocations: 4 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.008305, allocations: 67.33 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.008306, allocations: 0 / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.008874, allocations: 197.3 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.008912, allocations: 51.41 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.009135, allocations: 211 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.009155, allocations: 25.7 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.009238, allocations: 116.1 kB / 445.1 MB, free: 3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.009272, allocations: 27.78 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.009318, allocations: 17.72 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.009479, allocations: 330.8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.00954, allocations: 19.98 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.009622, allocations: 37.7 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.009757, allocations: 73.64 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.009758, allocations: 0 / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.009962, allocations: 105.6 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.009978, allocations: 11.92 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009982, allocations: 0 / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.01, allocations: 4 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.01009, allocations: 12.19 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.0101, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.01015, allocations: 7.938 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01016, allocations: 3.984 kB / 445.7 MB, free: 2.328 MB / 366.1 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.0001145/0.01027, allocations: 130.4 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.01029, allocations: 7.953 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.01057, allocations: 131 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01058, allocations: 0 / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01058, allocations: 0 / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01058, allocations: 0 / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.01106, allocations: 354.9 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01107, allocations: 0 / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.01111, allocations: 12.38 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.01112, allocations: 4 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.01113, allocations: 3.938 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01113, allocations: 4 kB / 446.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.01114, allocations: 8.031 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.0114, allocations: 216.2 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.01142, allocations: 7.953 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01145, allocations: 4 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.01152, allocations: 4 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.01156, allocations: 7.984 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.01157, allocations: 4 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.01172, allocations: 163.2 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.012, allocations: 31.92 kB / 446.8 MB, free: 1.184 MB / 366.1 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.001793/0.01379, allocations: 494.9 kB / 447.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.01399, allocations: 71.88 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01399, allocations: 64 / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.01407, allocations: 35.92 kB / 447.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.01443, allocations: 27.97 kB / 447.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.01494, allocations: 242.1 kB / 447.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01505, allocations: 92.8 kB / 447.7 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.0151, allocations: 17.05 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.01515, allocations: 20.48 kB / 447.8 MB, free: 364 kB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01515, allocations: 0 / 447.8 MB, free: 364 kB / 366.1 MB Notification: Performance of Templates: time 0.1686/0.1838, allocations: 1.854 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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: 4.588770397007465]