Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001102/0.001102, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001155/0.001155, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9867/0.9867, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1364/0.1364, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.23e-05, allocations: 12.22 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003339/0.003372, allocations: 1.938 MB / 349.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.004728, allocations: 0.831 MB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.004903, allocations: 4 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.005329, allocations: 51.58 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.005623, allocations: 51.7 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.005934, allocations: 107.7 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.006177, allocations: 147.5 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.006316, allocations: 25.55 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.006433, allocations: 75.8 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.006529, allocations: 35.91 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.006551, allocations: 4 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.006647, allocations: 47.97 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.006705, allocations: 27.86 kB / 351.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.00676, allocations: 31.91 kB / 351.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.006991, allocations: 119.5 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.006995, allocations: 3.984 kB / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006997, allocations: 0 / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007002, allocations: 0 / 351.2 MB, free: 5.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005206/0.007523, allocations: 0.5052 MB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.007574, allocations: 8.031 kB / 351.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.007634, allocations: 20.84 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.007822, allocations: 168.2 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.007843, allocations: 4.375 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.007872, allocations: 12.38 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.008072, allocations: 141.9 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00808, allocations: 3.938 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.008092, allocations: 7.984 kB / 352.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.008101, allocations: 4 kB / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.008153, allocations: 23.98 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.008622, allocations: 0.5834 MB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.008843, allocations: 67.16 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.008879, allocations: 27.61 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.008896, allocations: 4 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.009022, allocations: 102.8 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.009024, allocations: 0 / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002266/0.009251, allocations: 113.5 kB / 353 MB, free: 3.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.009275, allocations: 51.41 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.009388, allocations: 234.7 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.009399, allocations: 25.7 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.009457, allocations: 166.8 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.009478, allocations: 31.73 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.009515, allocations: 31.38 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.009571, allocations: 0.5039 MB / 354.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.009602, allocations: 23.88 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.00964, allocations: 58.42 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.009709, allocations: 86.73 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.009712, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001283/0.009841, allocations: 121.4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.009857, allocations: 4.125 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.009863, allocations: 4 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009879, allocations: 4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.009954, allocations: 23.92 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.009963, allocations: 4 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.01, allocations: 11.94 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.01001, allocations: 4 kB / 354.4 MB, free: 2.406 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 6.889e-05/0.01008, allocations: 164.5 kB / 354.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.0101, allocations: 23.84 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.01026, allocations: 103.1 kB / 354.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01027, allocations: 8 kB / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01027, allocations: 0 / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01028, allocations: 3.984 kB / 354.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.01038, allocations: 160.5 kB / 354.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01038, allocations: 3.938 kB / 354.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.01044, allocations: 15.98 kB / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01045, allocations: 0 / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01046, allocations: 4 kB / 354.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01046, allocations: 0 / 354.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01046, allocations: 0 / 354.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01063, allocations: 164.2 kB / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01065, allocations: 11.95 kB / 355 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.01067, allocations: 4 kB / 355 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.0107, allocations: 7.984 kB / 355 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.01074, allocations: 7.984 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01076, allocations: 8 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.01082, allocations: 169.1 kB / 355.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 355.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.01099, allocations: 35.88 kB / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008392/0.01183, allocations: 385.9 kB / 355.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01197, allocations: 67.53 kB / 355.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01197, allocations: 0 / 355.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.01201, allocations: 43.98 kB / 355.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01224, allocations: 43.89 kB / 355.8 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.01264, allocations: 256.1 kB / 356 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.01267, allocations: 67.84 kB / 356.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.01271, allocations: 17.14 kB / 356.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01275, allocations: 24.48 kB / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01275, allocations: 0 / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of Templates: time 0.004268/0.01702, allocations: 2.053 MB / 358.2 MB, free: 14.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.4360334118828177]