Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001124/0.001124, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001232/0.001232, allocations: 171.1 kB / 24.82 MB, free: 8.922 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.9807/0.9807, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2835/0.2835, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.924e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003963/0.003992, allocations: 1.653 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.00518, allocations: 0.5258 MB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.005271, allocations: 4 kB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.006005, allocations: 447 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.006677, allocations: 295.2 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.00711, allocations: 127.6 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.007455, allocations: 171.6 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.007591, allocations: 8 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.00784, allocations: 119.8 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.008177, allocations: 243.6 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.008203, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.008312, allocations: 23.94 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.008435, allocations: 79.72 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.008487, allocations: 43.66 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.008821, allocations: 187.2 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.008827, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.008829, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.008837, allocations: 0 / 382.4 MB, free: 14.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001369/0.01021, allocations: 0.6931 MB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.149e-05/0.01029, allocations: 12.03 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01041, allocations: 40.66 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.01077, allocations: 252.8 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.01079, allocations: 384 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.0108, allocations: 8.312 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.01099, allocations: 58.94 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01101, allocations: 8.172 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01102, allocations: 4.125 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01103, allocations: 4 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.01107, allocations: 4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.01161, allocations: 324.3 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.01171, allocations: 34.98 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.01173, allocations: 11.69 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.01176, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.0118, allocations: 49.33 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.0118, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002545/0.01206, allocations: 89.44 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.0121, allocations: 51.41 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.01274, allocations: 0.6079 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01276, allocations: 25.7 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.01301, allocations: 294.7 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.01305, allocations: 11.95 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.01311, allocations: 23.36 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.01339, allocations: 0.5547 MB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.01341, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.01343, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.01347, allocations: 15.67 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.01348, allocations: 4 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001528/0.01363, allocations: 89.34 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.01365, allocations: 11.94 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01366, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01368, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.01379, allocations: 4 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.01379, allocations: 3.984 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.01384, allocations: 11.92 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.01385, allocations: 0 / 385.7 MB, free: 10.97 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 (3): * Single equations (assignments): 3 * 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.0001317/0.01398, allocations: 160.6 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.01405, allocations: 47.61 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.01426, allocations: 85.11 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01427, allocations: 3.938 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01427, allocations: 3.938 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01428, allocations: 384 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.01462, allocations: 201.1 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.01463, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.01471, allocations: 4 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.01471, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01472, allocations: 7.984 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01473, allocations: 7.938 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.01473, allocations: 3.984 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.015, allocations: 231.7 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.01505, allocations: 35.72 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01507, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.01517, allocations: 3.938 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.01519, allocations: 7.984 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.0152, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004045/0.0156, allocations: 398.6 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.0156, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.01591, allocations: 12 kB / 386.9 MB, free: 9.719 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 (3): * Single equations (assignments): 3 * 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.001106/0.01702, allocations: 338.9 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01713, allocations: 23.66 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.01714, allocations: 0 / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.01716, allocations: 15.67 kB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.01757, allocations: 28.95 kB / 387.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.01872, allocations: 0.5588 MB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.01888, allocations: 125.8 kB / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.01894, allocations: 4 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.01903, allocations: 82.19 kB / 388 MB, free: 8.609 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01903, allocations: 0 / 388 MB, free: 8.609 MB / 362.7 MB Notification: Performance of Templates: time 0.004937/0.02397, allocations: 1.267 MB / 389.3 MB, free: 7.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.4356183437630534]