Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0009476/0.0009476, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001119/0.001119, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.969/0.969, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.793e-05, allocations: 6.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002167/0.002185, allocations: 1.718 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.002793, allocations: 0.7908 MB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.002827, allocations: 0 / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.003062, allocations: 39.77 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.003257, allocations: 39.77 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.00326, allocations: 0 / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.0034, allocations: 35.84 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.985e-05/0.00343, allocations: 4 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.003463, allocations: 11.98 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.00351, allocations: 19.91 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.003521, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.003567, allocations: 15.94 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.003608, allocations: 19.92 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.003628, allocations: 12 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003742, allocations: 51.7 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003745, allocations: 4 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003746, allocations: 0 / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00375, allocations: 0 / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002831/0.004033, allocations: 388.3 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.004067, allocations: 12.03 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.004103, allocations: 12.89 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.322e-05/0.004196, allocations: 120.5 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.004205, allocations: 384 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004216, allocations: 8.375 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.004342, allocations: 112.3 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004351, allocations: 192 / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.00436, allocations: 4.359 kB / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.004401, allocations: 24.36 kB / 379.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.004438, allocations: 31.8 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.004934, allocations: 1.196 MB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.005014, allocations: 269.5 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.005048, allocations: 126.9 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.005078, allocations: 119.2 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.005118, allocations: 160.6 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.005119, allocations: 4 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.372e-05/0.005173, allocations: 37.59 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.005229, allocations: 174.5 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.00538, allocations: 254.2 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.005389, allocations: 29.64 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.00547, allocations: 206.2 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.005472, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.005517, allocations: 55.31 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.005628, allocations: 0.4923 MB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.00565, allocations: 19.98 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.005744, allocations: 189.7 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.005879, allocations: 233.4 kB / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.005882, allocations: 0 / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001866/0.006069, allocations: 165.2 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006083, allocations: 8 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006089, allocations: 4.625 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.006105, allocations: 15.94 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.006192, allocations: 35.92 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.006201, allocations: 7.984 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.006252, allocations: 31.78 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.006261, allocations: 8 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.933e-05/0.00635, allocations: 287.7 kB / 383.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.006401, allocations: 160.8 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.006449, allocations: 156.7 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/0.006511, allocations: 276 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/0.006567, allocations: 268.2 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/0.006623, allocations: 272.1 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.006799, allocations: 0.5154 MB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.00683, allocations: 144.9 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.006865, allocations: 156.8 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.556e-05/0.006921, allocations: 264.1 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.006982, allocations: 268 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.95e-05/0.007041, allocations: 276.1 kB / 386.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-05/0.007104, allocations: 268 kB / 386.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.007227, allocations: 451.9 kB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.007266, allocations: 156.8 kB / 387.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.007335, allocations: 272.1 kB / 387.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.007387, allocations: 152.9 kB / 387.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.007447, allocations: 272 kB / 387.8 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.007479, allocations: 144.9 kB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.007542, allocations: 159.1 kB / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007542, allocations: 4 kB / 388.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.00772, allocations: 12 kB / 388.1 MB, free: 7.926 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004052/0.008126, allocations: 309.5 kB / 388.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.008242, allocations: 72.41 kB / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.008245, allocations: 4 kB / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.008247, allocations: 3.938 kB / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.008553, allocations: 0.7062 MB / 389.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.008832, allocations: 283.8 kB / 389.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.008873, allocations: 63.84 kB / 389.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.008949, allocations: 53.38 kB / 389.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.008972, allocations: 12.5 kB / 389.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008972, allocations: 0 / 389.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of Templates: time 0.002013/0.01099, allocations: 0.7326 MB / 390.3 MB, free: 5.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.1697553670965135]