Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.002353/0.002353, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001961/0.001961, allocations: 165.3 kB / 24.28 MB, free: 148 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.64/1.64, 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.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.3827/0.3827, 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.424e-05/4.69e-05, allocations: 5.266 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004375/0.004422, allocations: 1.747 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006549, allocations: 1.001 MB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.006643, allocations: 0 / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.007032, allocations: 95.55 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.007475, allocations: 123.5 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.007729, allocations: 83.55 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.007983, allocations: 131.5 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.008076, allocations: 11.98 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.008214, allocations: 67.81 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.008475, allocations: 63.86 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.008499, allocations: 4 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.008636, allocations: 63.91 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.008706, allocations: 27.86 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.008759, allocations: 19.92 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.009054, allocations: 143.5 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.009058, allocations: 0 / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009059, allocations: 4 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.009063, allocations: 4 kB / 381 MB, free: 15.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006969/0.00976, allocations: 467.3 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.009809, allocations: 12.03 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.009873, allocations: 16.84 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.01015, allocations: 169.1 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.01016, allocations: 4.375 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.01018, allocations: 384 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.01034, allocations: 58.23 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01035, allocations: 3.938 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.01036, allocations: 0 / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.01037, allocations: 8 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.01045, allocations: 19.98 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.01096, allocations: 323.6 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01121, allocations: 62.98 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.01128, allocations: 27.8 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.0113, allocations: 0 / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.01147, allocations: 73.05 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.01147, allocations: 0 / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008785/0.01235, allocations: 265.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.0124, allocations: 51.41 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.0127, allocations: 279.1 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.01273, allocations: 29.69 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01285, allocations: 158.9 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.01291, allocations: 43.75 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.01297, allocations: 35.36 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.01326, allocations: 0.5118 MB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.01334, allocations: 31.98 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.01343, allocations: 54.61 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.0136, allocations: 91.3 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.0136, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002719/0.01387, allocations: 141.5 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01388, allocations: 4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01389, allocations: 0 / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01391, allocations: 4 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.01399, allocations: 16 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.014, allocations: 3.984 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.01404, allocations: 4 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01405, allocations: 4 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: 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 (13): * Single equations (assignments): 13 * 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.000153/0.01421, allocations: 172.5 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.01425, allocations: 19.84 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.01477, allocations: 155.2 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01477, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01478, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01478, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.01545, allocations: 480.5 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01545, allocations: 0 / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.01551, allocations: 15.98 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.01552, allocations: 12.05 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.01554, allocations: 4 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01554, allocations: 0 / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.01555, allocations: 7.938 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.01592, allocations: 303.1 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.01595, allocations: 11.91 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.01599, allocations: 8 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.01606, allocations: 3.984 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.01611, allocations: 15.92 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.01613, allocations: 8 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.01631, allocations: 183.2 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01631, allocations: 4 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.01659, allocations: 35.92 kB / 385.3 MB, free: 10.62 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 (12): * Single equations (assignments): 10 * 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.003792/0.02038, allocations: 0.542 MB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.02064, allocations: 95.52 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02064, allocations: 0 / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.02075, allocations: 47.61 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.02112, allocations: 40.03 kB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.02174, allocations: 285.3 kB / 386.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.02187, allocations: 101.8 kB / 386.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.02192, allocations: 20.62 kB / 386.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.02198, allocations: 28.44 kB / 386.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02198, allocations: 0 / 386.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of Templates: time 0.00625/0.02823, allocations: 2.105 MB / 388.5 MB, free: 7.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.057834440027364]