Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001085/0.001085, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009674/0.0009674, allocations: 161 kB / 24.56 MB, free: 12 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 0.9939/0.9939, allocations: 177.1 MB / 205 MB, free: 5.574 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.2736/0.2736, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.037e-05, allocations: 2.312 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003344/0.003375, allocations: 1.785 MB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.005073, allocations: 1.017 MB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.005168, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.005542, allocations: 103.6 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.005958, allocations: 135.4 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.006237, allocations: 87.53 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.006481, allocations: 131.7 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.006583, allocations: 11.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.006717, allocations: 75.81 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.006846, allocations: 71.78 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.006867, allocations: 4 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.007003, allocations: 63.91 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.007066, allocations: 31.92 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.007117, allocations: 23.86 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.00738, allocations: 131.5 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.007384, allocations: 0 / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007386, allocations: 7.938 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007391, allocations: 0 / 379.8 MB, free: 0.8711 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005856/0.007977, allocations: 483.6 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.008021, allocations: 8.031 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.008084, allocations: 20.84 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.008317, allocations: 165.3 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.008341, allocations: 8.375 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.00837, allocations: 8.375 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.008544, allocations: 70.86 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.008559, allocations: 7.938 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.00857, allocations: 0 / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.008578, allocations: 0 / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.008649, allocations: 19.98 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.009106, allocations: 315.6 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.009363, allocations: 78.89 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.009411, allocations: 19.67 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.009428, allocations: 4 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.009571, allocations: 73.05 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.009573, allocations: 0 / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007464/0.01032, allocations: 245.7 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01036, allocations: 51.41 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.01058, allocations: 270.8 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01061, allocations: 25.7 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01071, allocations: 170.8 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.01076, allocations: 47.77 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.01082, allocations: 39.36 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01099, allocations: 0.504 MB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.01104, allocations: 23.98 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.01111, allocations: 43.36 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.01123, allocations: 71.23 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01123, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002249/0.01145, allocations: 121.6 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.01147, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01148, allocations: 240 / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.0115, allocations: 8.031 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.0116, allocations: 23.92 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.01161, allocations: 7.984 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.01166, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.01167, allocations: 12 kB / 382.7 MB, free: 13.74 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 (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.0001139/0.01179, allocations: 167.9 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01182, allocations: 23.84 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.01211, allocations: 143 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01212, allocations: 4 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01212, allocations: 7.938 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01213, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.01267, allocations: 464.8 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.01268, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.01274, allocations: 19.92 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.01275, allocations: 4 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.01277, allocations: 8 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01277, allocations: 0 / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01277, allocations: 3.938 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.01305, allocations: 307.2 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01308, allocations: 19.89 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.01311, allocations: 4 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.01319, allocations: 8 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.01324, allocations: 15.86 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.01326, allocations: 7.984 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.0134, allocations: 193.4 kB / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0134, allocations: 0 / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.0137, allocations: 31.94 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001485/0.01519, allocations: 490.2 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.01542, allocations: 75.59 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01542, allocations: 0 / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.01551, allocations: 43.61 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.0159, allocations: 40.53 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.01657, allocations: 305.8 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.01664, allocations: 75.83 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.0167, allocations: 21.12 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.01676, allocations: 20.5 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01676, allocations: 0 / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.006017/0.02277, allocations: 2.278 MB / 387.4 MB, free: 9.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.6094864062033594]