Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009177/0.0009177, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009485/0.0009485, allocations: 169 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 158.6 MB / 186 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.188/0.188, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 7.938 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.732e-05, allocations: 8.219 kB / 347.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002918/0.002946, allocations: 1.73 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004201, allocations: 0.792 MB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.004297, allocations: 0 / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.004693, allocations: 43.77 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.004969, allocations: 55.69 kB / 350.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.005258, allocations: 83.7 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.005464, allocations: 99.67 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.00559, allocations: 8.234 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.0057, allocations: 55.78 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.005793, allocations: 31.89 kB / 350.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.005818, allocations: 4 kB / 350.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.005922, allocations: 39.92 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.005993, allocations: 23.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.006047, allocations: 19.92 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.006268, allocations: 99.59 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006271, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006272, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.006278, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.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.0005274/0.006805, allocations: 451.9 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.006855, allocations: 8.031 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.006915, allocations: 8.891 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.007101, allocations: 144.4 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.007127, allocations: 4.375 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.007154, allocations: 8.328 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.007309, allocations: 62.94 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.007323, allocations: 3.938 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.007341, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.007351, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.007399, allocations: 19.92 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.007757, allocations: 283.8 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.007883, allocations: 51.16 kB / 351.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.007923, allocations: 23.62 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.007943, allocations: 7.922 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.008062, allocations: 65.05 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.008063, allocations: 0 / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00051/0.008573, allocations: 153.3 kB / 352.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.008604, allocations: 59.34 kB / 352.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.008715, allocations: 220.1 kB / 352.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.008725, allocations: 29.7 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.008766, allocations: 150.9 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.008797, allocations: 31.73 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.00883, allocations: 23.38 kB / 352.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.008887, allocations: 0.5001 MB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.008908, allocations: 12.36 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.00894, allocations: 31.38 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.008993, allocations: 59.23 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008995, allocations: 4 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.583e-05/0.00909, allocations: 93.56 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.009105, allocations: 4 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.009111, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.009126, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.009208, allocations: 19.98 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.009216, allocations: 0 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.009254, allocations: 0 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.009261, allocations: 4 kB / 353.3 MB, free: 3.867 MB / 282.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 6.377e-05/0.009325, allocations: 176.5 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.00934, allocations: 19.84 kB / 353.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.009478, allocations: 98.59 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.009482, allocations: 4 kB / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009485, allocations: 0 / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.009491, allocations: 3.984 kB / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.009737, allocations: 389 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009739, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.009765, allocations: 11.94 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009766, allocations: 4.031 kB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.009776, allocations: 8 kB / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009777, allocations: 0 / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009778, allocations: 0 / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.009893, allocations: 259.4 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.009905, allocations: 11.94 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.009922, allocations: 0 / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.00996, allocations: 8 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.009999, allocations: 11.92 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01001, allocations: 4 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.01007, allocations: 164 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01007, allocations: 4 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.01025, allocations: 27.94 kB / 354.5 MB, free: 2.602 MB / 282.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.0009041/0.01115, allocations: 439.4 kB / 354.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01128, allocations: 51.55 kB / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01128, allocations: 0 / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.01133, allocations: 35.61 kB / 355 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01157, allocations: 31.88 kB / 355 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.01192, allocations: 221.8 kB / 355.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.01195, allocations: 67.34 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.01198, allocations: 16.47 kB / 355.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.01202, allocations: 16.5 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01202, allocations: 0 / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of Templates: time 0.003608/0.01562, allocations: 1.848 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.8313989581074566]