Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001499/0.001499, allocations: 92.33 kB / 20.95 MB, free: 3.59 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.00188/0.00188, allocations: 169.2 kB / 24.27 MB, free: 284 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.376/0.376, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.779e-05, allocations: 6.25 kB / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003374/0.003402, allocations: 1.89 MB / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.005761, allocations: 1.068 MB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.005849, allocations: 11.94 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.006333, allocations: 215.3 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.006846, allocations: 223 kB / 378.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.007137, allocations: 115.6 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.00751, allocations: 263.2 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.007622, allocations: 21.95 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.007866, allocations: 147.6 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.008099, allocations: 155.6 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.00813, allocations: 12 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.008265, allocations: 63.91 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.008368, allocations: 59.77 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.008453, allocations: 47.8 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.008838, allocations: 243 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.008842, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008844, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.00885, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008826/0.009732, allocations: 0.508 MB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.009768, allocations: 8.031 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.009866, allocations: 40.73 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.01026, allocations: 217.8 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.01028, allocations: 4.375 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.01032, allocations: 12.31 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.01059, allocations: 111.9 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01061, allocations: 3.938 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.01062, allocations: 4 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01063, allocations: 4 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.01079, allocations: 59.88 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.01142, allocations: 420.3 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.01184, allocations: 117.2 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01196, allocations: 41.83 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.01198, allocations: 4 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.01224, allocations: 125.2 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.01224, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001536/0.01377, allocations: 0.5129 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.01385, allocations: 88.98 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.01441, allocations: 464.5 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.01445, allocations: 29.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.0146, allocations: 160.5 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.01468, allocations: 79.41 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.01476, allocations: 45.7 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.01496, allocations: 342.8 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01511, allocations: 63.91 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.01527, allocations: 91.39 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.0156, allocations: 159.3 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.0156, allocations: 8 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004736/0.01608, allocations: 249.5 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01609, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.0161, allocations: 7.984 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01612, allocations: 0 / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01628, allocations: 47.92 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.01629, allocations: 3.938 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.01639, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.01641, allocations: 15.98 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001845/0.01659, allocations: 165.8 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.01667, allocations: 47.83 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.01726, allocations: 276.8 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01726, allocations: 7.922 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.01727, allocations: 3.938 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.01728, allocations: 4 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.01857, allocations: 0.6761 MB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01857, allocations: 128 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01867, allocations: 39.98 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01868, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.0187, allocations: 7.984 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.0187, allocations: 4 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.0187, allocations: 3.938 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.01931, allocations: 449.8 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.01936, allocations: 23.81 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.01941, allocations: 11.98 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.01956, allocations: 8 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.01963, allocations: 27.91 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.01965, allocations: 12 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003917/0.02005, allocations: 346.9 kB / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02005, allocations: 0 / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.02043, allocations: 51.89 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002552/0.02298, allocations: 0.5584 MB / 386.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.0234, allocations: 163.7 kB / 386.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0234, allocations: 0 / 386.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.02359, allocations: 79.84 kB / 386.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.02417, allocations: 62.84 kB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.0252, allocations: 0.576 MB / 387.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.0254, allocations: 170.1 kB / 387.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02551, allocations: 37.92 kB / 387.6 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.02559, allocations: 40.48 kB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of SimCode: time 4.8e-07/0.02559, allocations: 0 / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of Templates: time 0.008174/0.03376, allocations: 3.348 MB / 391 MB, free: 5.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.9665081889834255]