Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001104/0.001104, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001346/0.001346, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2649/0.2649, allocations: 34.26 MB / 296 MB, free: 0.707 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.743e-05, allocations: 2.312 kB / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002859/0.002886, allocations: 1.722 MB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003933, allocations: 0.5452 MB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.004005, allocations: 8 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.004517, allocations: 455.1 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.004997, allocations: 291.1 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.005331, allocations: 139.6 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.005607, allocations: 175.6 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.005726, allocations: 16.22 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.005909, allocations: 119.8 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.006197, allocations: 251.5 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.006222, allocations: 4 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.006375, allocations: 55.91 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.006512, allocations: 83.72 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.006562, allocations: 39.73 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.006884, allocations: 223 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.00689, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.006892, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.006902, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007279/0.00763, allocations: 0.6931 MB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.007675, allocations: 8.031 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.007755, allocations: 52.64 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.008008, allocations: 252.9 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.008021, allocations: 4.375 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.00805, allocations: 12.36 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008204, allocations: 66.88 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.008217, allocations: 192 / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.00823, allocations: 4.125 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.008241, allocations: 4 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.008284, allocations: 11.98 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.008753, allocations: 435.5 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.008974, allocations: 62.92 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.009003, allocations: 15.69 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.009027, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.009055, allocations: 37.52 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.009057, allocations: 4 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008749/0.009932, allocations: 320.5 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.009986, allocations: 59.41 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.01049, allocations: 0.6316 MB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.01051, allocations: 29.7 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.01069, allocations: 278.8 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.01073, allocations: 43.64 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.01078, allocations: 23.38 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.01099, allocations: 0.5625 MB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.01103, allocations: 11.98 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.01106, allocations: 16 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/0.01114, allocations: 55.81 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01114, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001594/0.0113, allocations: 125.4 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01132, allocations: 5.875 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01133, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.01135, allocations: 4 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.01143, allocations: 19.98 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01143, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.01147, allocations: 11.98 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.01148, allocations: 4 kB / 386 MB, free: 10.77 MB / 362.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 (11): * Single equations (assignments): 11 * 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 0.0001217/0.0116, allocations: 172.4 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.01165, allocations: 51.67 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.01189, allocations: 134 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.0119, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01191, allocations: 4 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01191, allocations: 4 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/0.01277, allocations: 0.5396 MB / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01277, allocations: 0 / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.01285, allocations: 27.92 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01285, allocations: 0 / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01287, allocations: 12.06 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01287, allocations: 3.938 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01287, allocations: 0 / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01306, allocations: 294.9 kB / 387.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.01309, allocations: 39.7 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01311, allocations: 0 / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.01317, allocations: 15.92 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.01323, allocations: 11.92 kB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01323, allocations: 4 kB / 387.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003087/0.01354, allocations: 430.8 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01354, allocations: 4 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.0138, allocations: 28 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001154/0.01495, allocations: 433 kB / 388.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.0151, allocations: 63.53 kB / 388.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0151, allocations: 0 / 388.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.01515, allocations: 39.83 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.01543, allocations: 33.89 kB / 388.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.01621, allocations: 0.6364 MB / 388.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.0163, allocations: 123.2 kB / 389 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.01635, allocations: 20.47 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.01639, allocations: 16.5 kB / 389.1 MB, free: 7.66 MB / 362.7 MB Notification: Performance of SimCode: time 2.043e-06/0.01639, allocations: 0 / 389.1 MB, free: 7.66 MB / 362.7 MB Notification: Performance of Templates: time 0.005107/0.0215, allocations: 1.765 MB / 390.8 MB, free: 5.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.2216607991140336]