Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001056/0.001056, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001586/0.001586, allocations: 169.3 kB / 24.24 MB, free: 316 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.169/1.169, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.2288/0.2288, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.582e-05/5.842e-05, allocations: 8.219 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004803/0.004861, allocations: 1.742 MB / 349.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.006803, allocations: 0.7881 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.006953, allocations: 4 kB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.007533, allocations: 35.77 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.007943, allocations: 55.7 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.008382, allocations: 91.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.008681, allocations: 91.7 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.008859, allocations: 12.22 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.009009, allocations: 51.77 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.009136, allocations: 23.92 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.009172, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.009318, allocations: 43.92 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.009412, allocations: 27.91 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.009495, allocations: 19.92 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.009828, allocations: 95.59 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.009834, allocations: 11.94 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.009836, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.009846, allocations: 0 / 350.8 MB, free: 6.59 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.0007908/0.01064, allocations: 435.9 kB / 351.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/0.01071, allocations: 12.02 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.01081, allocations: 12.89 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.01114, allocations: 152.4 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.01118, allocations: 384 / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.01123, allocations: 8.328 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.01148, allocations: 58.94 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.0115, allocations: 7.938 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.01152, allocations: 3.938 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.01153, allocations: 4 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.01159, allocations: 15.98 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.01212, allocations: 271.8 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01233, allocations: 55.16 kB / 351.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.0124, allocations: 23.56 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.01243, allocations: 0 / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.01266, allocations: 65.05 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.647e-06/0.01266, allocations: 4 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008407/0.0135, allocations: 153.3 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.01356, allocations: 59.39 kB / 352.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.01377, allocations: 228 kB / 352.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.01379, allocations: 25.7 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.01388, allocations: 146.9 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.01393, allocations: 27.75 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.01401, allocations: 35.36 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.0142, allocations: 0.4923 MB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.01425, allocations: 12.38 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.01432, allocations: 43.28 kB / 353.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.01441, allocations: 51.31 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01442, allocations: 4 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.01461, allocations: 89.56 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.01464, allocations: 4 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.01465, allocations: 4 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.01467, allocations: 0 / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01481, allocations: 12 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.01483, allocations: 8.016 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.01489, allocations: 8 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.0149, allocations: 4 kB / 353.3 MB, free: 3.871 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 0.0001217/0.01502, allocations: 164.4 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01505, allocations: 19.91 kB / 353.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.01533, allocations: 106.6 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.01534, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.01535, allocations: 3.938 kB / 353.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01535, allocations: 0 / 353.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.01584, allocations: 389 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01585, allocations: 3.938 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.01591, allocations: 11.98 kB / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.01592, allocations: 4 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01593, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01594, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.01594, allocations: 4 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.0162, allocations: 255.4 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01623, allocations: 11.95 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.01626, allocations: 4 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.01635, allocations: 3.984 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.01641, allocations: 8.031 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.01644, allocations: 15.92 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.01657, allocations: 168 kB / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01657, allocations: 0 / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.01689, allocations: 23.94 kB / 354.5 MB, free: 2.613 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.001547/0.01844, allocations: 431.7 kB / 354.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.01865, allocations: 59.53 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01865, allocations: 4 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.18e-05/0.01871, allocations: 35.67 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.01915, allocations: 27.89 kB / 355 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.0198, allocations: 213.7 kB / 355.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.01987, allocations: 75.33 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.01993, allocations: 16.47 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.01998, allocations: 16.5 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of SimCode: time 2.364e-06/0.01999, allocations: 4.062 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.006543/0.02653, allocations: 1.842 MB / 357.2 MB, free: 15.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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: 4.0198949940968305]