Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.000927/0.000927, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001103/0.001103, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9395/0.9395, allocations: 177.1 MB / 206 MB, free: 4.504 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.1618/0.1618, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.796e-05, allocations: 9.484 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00174/0.001758, allocations: 1.646 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.002324, allocations: 0.522 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.002371, allocations: 3.938 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.002593, allocations: 115.6 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.002797, allocations: 123.5 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.002968, allocations: 87.66 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003083, allocations: 91.73 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.003158, allocations: 19.97 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.00321, allocations: 43.89 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.003288, allocations: 67.86 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.0033, allocations: 4 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.003363, allocations: 47.91 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.003404, allocations: 31.86 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.003424, allocations: 11.94 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.003539, allocations: 107.5 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003541, allocations: 0 / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003541, allocations: 0 / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.003545, allocations: 0 / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002524/0.003797, allocations: 455.8 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.003824, allocations: 8.031 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.003852, allocations: 16.84 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.003938, allocations: 153.2 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.003945, allocations: 384 / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.003959, allocations: 12.38 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.004026, allocations: 54.89 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004032, allocations: 192 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.004038, allocations: 4.125 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.004041, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.004062, allocations: 23.95 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.004228, allocations: 260.4 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.00427, allocations: 46.98 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.004282, allocations: 11.69 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.004294, allocations: 0 / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.004307, allocations: 45.33 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.004308, allocations: 0 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.004679, allocations: 153.4 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.004696, allocations: 59.39 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.004785, allocations: 256.9 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.004789, allocations: 25.7 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.004824, allocations: 162.8 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.004843, allocations: 35.67 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.004868, allocations: 31.36 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.00491, allocations: 0.5001 MB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.004923, allocations: 4 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.004937, allocations: 11.98 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.004969, allocations: 31.67 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.00497, allocations: 3.938 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.714e-05/0.005037, allocations: 73.59 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.005046, allocations: 4 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00505, allocations: 0 / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.005056, allocations: 0 / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.00511, allocations: 19.92 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.005113, allocations: 8 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.00513, allocations: 0 / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.005135, allocations: 4 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.096e-05/0.005176, allocations: 164.5 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.005198, allocations: 12.38 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.005301, allocations: 91.39 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005302, allocations: 0 / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.005304, allocations: 7.922 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005306, allocations: 0 / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.005504, allocations: 353.6 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005506, allocations: 4 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.005539, allocations: 15.98 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00554, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.005545, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.005546, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005547, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.17e-05/0.005619, allocations: 239.4 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.005628, allocations: 19.83 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.005638, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.005672, allocations: 4 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.005694, allocations: 12.02 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.005698, allocations: 4 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.005741, allocations: 175.1 kB / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005741, allocations: 0 / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.005908, allocations: 27.92 kB / 385.8 MB, free: 16.64 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008241/0.006732, allocations: 425.1 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.006802, allocations: 39.61 kB / 386.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.006805, allocations: 4 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.006825, allocations: 27.67 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.007023, allocations: 27.08 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.007276, allocations: 245.4 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.515e-05/0.007301, allocations: 71.33 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.007332, allocations: 20.7 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.007374, allocations: 82.27 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007375, allocations: 0 / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.002678/0.01005, allocations: 1.534 MB / 388.2 MB, free: 14.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.9683444215916097]