Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0009773/0.0009773, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001159/0.001159, allocations: 172 kB / 24.92 MB, free: 8.762 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2514/0.2514, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.532e-05, allocations: 3.188 kB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002146/0.002161, allocations: 1.812 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003324, allocations: 1.006 MB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.003387, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.003658, allocations: 83.64 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.003881, allocations: 115.4 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.004016, allocations: 83.55 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004155, allocations: 115.7 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.004225, allocations: 8 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.004309, allocations: 67.75 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.004391, allocations: 51.86 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004404, allocations: 4 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.004478, allocations: 43.92 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.004522, allocations: 35.86 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.004551, allocations: 20.42 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004691, allocations: 103.6 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.004692, allocations: 0 / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004693, allocations: 0 / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004696, allocations: 0 / 328.9 MB, free: 3.969 MB / 298.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.0003253/0.005022, allocations: 333.4 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.00505, allocations: 8.031 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.005078, allocations: 12.92 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.005213, allocations: 149.5 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005227, allocations: 8.375 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.005241, allocations: 4.375 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.005332, allocations: 61.75 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005342, allocations: 3.938 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005349, allocations: 4 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005354, allocations: 0 / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.005381, allocations: 11.94 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.005567, allocations: 165.9 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.005654, allocations: 93.33 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.005673, allocations: 12.86 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.005682, allocations: 0 / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/0.005765, allocations: 74.08 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.005766, allocations: 0 / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002734/0.006039, allocations: 117.5 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006068, allocations: 55.41 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.006178, allocations: 185.1 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.006192, allocations: 29.64 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.006224, allocations: 92.11 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.006248, allocations: 31.77 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.006277, allocations: 25.72 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.006353, allocations: 330.8 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.006368, allocations: 14.81 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.006388, allocations: 17.72 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.006427, allocations: 48.44 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006428, allocations: 0 / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.975e-05/0.006498, allocations: 72.44 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.006507, allocations: 4 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006511, allocations: 0 / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.006523, allocations: 8.031 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.006576, allocations: 15.94 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.006579, allocations: 3.984 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.006603, allocations: 4 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.006608, allocations: 0 / 330.9 MB, free: 1.828 MB / 298.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 5.581e-05/0.006664, allocations: 116.7 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.006676, allocations: 15.92 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.766e-05/0.006764, allocations: 75.08 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006765, allocations: 0 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006766, allocations: 0 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006771, allocations: 7.984 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.00696, allocations: 299.5 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006961, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.006985, allocations: 16 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006987, allocations: 0 / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.006992, allocations: 3.984 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006995, allocations: 4 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006996, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.007086, allocations: 215 kB / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.007095, allocations: 7.984 kB / 331.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.00711, allocations: 12 kB / 331.6 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.007148, allocations: 4.359 kB / 331.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.007169, allocations: 4 kB / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.007179, allocations: 7.984 kB / 331.6 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.007224, allocations: 73.42 kB / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007224, allocations: 0 / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000138/0.007362, allocations: 23.94 kB / 331.7 MB, free: 0.8867 MB / 298.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.001237/0.008599, allocations: 0.5807 MB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.008673, allocations: 40.77 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008675, allocations: 0 / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.008703, allocations: 28.84 kB / 332.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.008868, allocations: 38.98 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.00914, allocations: 230.3 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.009176, allocations: 75.33 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.009209, allocations: 13.28 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.009271, allocations: 67.36 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009271, allocations: 0 / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of Templates: time 0.003278/0.01255, allocations: 2.028 MB / 334.8 MB, free: 14.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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: 2.8999754237011075]