Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001074/0.001074, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001138/0.001138, allocations: 171.7 kB / 24.84 MB, free: 8.914 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.9489/0.9489, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.1243/0.1243, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.134e-05, allocations: 2.312 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001941/0.001953, allocations: 1.73 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.005822, allocations: 0.7842 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.005874, allocations: 0 / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.006105, allocations: 95.67 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.006268, allocations: 83.59 kB / 351.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.006427, allocations: 87.64 kB / 351.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.006549, allocations: 111.7 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.006609, allocations: 8.219 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.006683, allocations: 59.83 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.006761, allocations: 59.86 kB / 352 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.006773, allocations: 4 kB / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.006843, allocations: 43.92 kB / 352 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.006881, allocations: 31.84 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.006909, allocations: 19.92 kB / 352.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.00704, allocations: 103.6 kB / 352.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.007042, allocations: 4 kB / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 5e-07/0.007043, allocations: 0 / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.007046, allocations: 0 / 352.2 MB, free: 5.863 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.0003207/0.007367, allocations: 459.7 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.007395, allocations: 8.031 kB / 352.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.007429, allocations: 16.84 kB / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.007541, allocations: 152.4 kB / 352.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.007553, allocations: 4.375 kB / 352.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.007565, allocations: 4.375 kB / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.381e-05/0.007649, allocations: 58.94 kB / 352.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007658, allocations: 3.938 kB / 352.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.007665, allocations: 4 kB / 352.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.007669, allocations: 0 / 352.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.007697, allocations: 15.92 kB / 352.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.007877, allocations: 268.3 kB / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.01097, allocations: 47.16 kB / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.01099, allocations: 19.69 kB / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.01099, allocations: 0 / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.01107, allocations: 76.91 kB / 353.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.01107, allocations: 0 / 353.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002705/0.01134, allocations: 133.5 kB / 353.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.01135, allocations: 51.41 kB / 353.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.01145, allocations: 245.8 kB / 353.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.01146, allocations: 29.7 kB / 353.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.01149, allocations: 158.8 kB / 353.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.01152, allocations: 27.77 kB / 353.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.01155, allocations: 31.38 kB / 354 MB, free: 3.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.0116, allocations: 0.504 MB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.01162, allocations: 4 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.01164, allocations: 35.36 kB / 354.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.01169, allocations: 43.3 kB / 354.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01169, allocations: 0 / 354.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.091e-05/0.01178, allocations: 101.5 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.01179, allocations: 4 kB / 354.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.01179, allocations: 4.031 kB / 354.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.0118, allocations: 4 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.01187, allocations: 12 kB / 354.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.01187, allocations: 0 / 354.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.0119, allocations: 7.984 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.0119, allocations: 0 / 354.7 MB, free: 3.152 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 4.338e-05/0.01195, allocations: 164.6 kB / 354.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.01197, allocations: 23.78 kB / 354.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.01208, allocations: 95.12 kB / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01208, allocations: 0 / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01209, allocations: 8 kB / 355 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01209, allocations: 0 / 355 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.0123, allocations: 365.6 kB / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.0123, allocations: 4.359 kB / 355.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.01233, allocations: 11.94 kB / 355.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01233, allocations: 0 / 355.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.01234, allocations: 8 kB / 355.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01234, allocations: 0 / 355.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01234, allocations: 0 / 355.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.01245, allocations: 255.4 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01246, allocations: 15.94 kB / 355.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01247, allocations: 7.984 kB / 355.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.01253, allocations: 4 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.01255, allocations: 3.984 kB / 355.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01256, allocations: 4 kB / 355.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.01261, allocations: 171.1 kB / 355.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01261, allocations: 3.938 kB / 355.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.01284, allocations: 27.92 kB / 355.8 MB, free: 1.922 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.003964/0.0168, allocations: 435.1 kB / 356.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.01689, allocations: 63.5 kB / 356.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.01689, allocations: 0 / 356.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.01692, allocations: 31.62 kB / 356.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01718, allocations: 27.91 kB / 356.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.01743, allocations: 229.5 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.01746, allocations: 75.33 kB / 356.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.0175, allocations: 16.61 kB / 356.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.01755, allocations: 90.19 kB / 356.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01755, allocations: 0 / 356.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.006561/0.02411, allocations: 2.041 MB / 358.8 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.1124565270729363]