Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.002456/0.002456, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002995/0.002995, allocations: 169.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.616/1.616, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3405/0.3405, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.371e-05, allocations: 2.312 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003735/0.003769, allocations: 1.735 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.00597, allocations: 0.9937 MB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.006074, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.006391, allocations: 39.77 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.006801, allocations: 107.4 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.007081, allocations: 79.66 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.007301, allocations: 107.6 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.007389, allocations: 8 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.007523, allocations: 47.84 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.007617, allocations: 31.89 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.007641, allocations: 4 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.007766, allocations: 47.86 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.007836, allocations: 23.92 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.007888, allocations: 23.86 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.008153, allocations: 123.6 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008156, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008157, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.008163, allocations: 0 / 378.7 MB, free: 1.504 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007193/0.008882, allocations: 455.5 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.008923, allocations: 8.031 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.008998, allocations: 16.84 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.009286, allocations: 164.8 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.00932, allocations: 4.375 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.009344, allocations: 4.375 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.009503, allocations: 54.23 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.009518, allocations: 3.938 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.009532, allocations: 4 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.009537, allocations: 0 / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.009618, allocations: 19.98 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.01011, allocations: 299.8 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.01033, allocations: 63.16 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.0104, allocations: 23.62 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01042, allocations: 0 / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.0106, allocations: 77.05 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.0106, allocations: 0 / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006367/0.01124, allocations: 185.3 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.01131, allocations: 55.34 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01156, allocations: 249.9 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01159, allocations: 25.7 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.0117, allocations: 162.8 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.01175, allocations: 35.78 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.0118, allocations: 31.38 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.01208, allocations: 0.4962 MB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.01213, allocations: 19.98 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.01222, allocations: 47.36 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.01235, allocations: 67.25 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01235, allocations: 0 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.01256, allocations: 105.6 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01257, allocations: 5.875 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.01257, allocations: 0 / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01259, allocations: 7.984 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.01269, allocations: 19.92 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0127, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.01274, allocations: 8.031 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01275, allocations: 0 / 381.4 MB, free: 14.61 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.0001474/0.0129, allocations: 172.5 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01293, allocations: 19.91 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.01321, allocations: 123.1 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01321, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01322, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01322, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.01376, allocations: 425.3 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01376, allocations: 4 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.0138, allocations: 16.03 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0138, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01382, allocations: 3.984 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01382, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01382, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.01415, allocations: 271.4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01417, allocations: 11.91 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01419, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.01426, allocations: 4 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.0143, allocations: 11.92 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01431, allocations: 4 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.01449, allocations: 200.1 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01449, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01473, allocations: 20 kB / 382.6 MB, free: 13.26 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.003234/0.01796, allocations: 498.6 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.01819, allocations: 67.55 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01819, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.01828, allocations: 43.61 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.01865, allocations: 38.61 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.01916, allocations: 229.9 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.01927, allocations: 100.9 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.01932, allocations: 17.28 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.01937, allocations: 20.48 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01937, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.005447/0.02482, allocations: 1.864 MB / 385.5 MB, free: 10.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.020254479954019]