Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.002295/0.002295, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002202/0.002202, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.607/1.607, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.4033/0.4033, allocations: 34.27 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.229e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00384/0.003872, allocations: 1.661 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.005172, allocations: 0.5336 MB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.005248, allocations: 0 / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.005968, allocations: 463 kB / 380 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.006578, allocations: 287.3 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.007025, allocations: 135.6 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.00736, allocations: 175.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.007465, allocations: 15.98 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.007705, allocations: 123.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.008043, allocations: 239.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.008069, allocations: 4 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.008187, allocations: 31.98 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.008336, allocations: 87.7 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.008402, allocations: 39.73 kB / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.008819, allocations: 250.9 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.008824, allocations: 4 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008825, allocations: 0 / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.008834, allocations: 0 / 381.3 MB, free: 14.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009982/0.009832, allocations: 0.5699 MB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.009874, allocations: 8.031 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.009986, allocations: 48.66 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.01039, allocations: 250 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.01041, allocations: 8.375 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.01044, allocations: 384 / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.01068, allocations: 58.23 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.0107, allocations: 4.172 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.01072, allocations: 4.125 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01072, allocations: 0 / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.01088, allocations: 35.97 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.01167, allocations: 332.3 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.01184, allocations: 46.56 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.01193, allocations: 28.86 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.01196, allocations: 0 / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.01201, allocations: 34.56 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.01201, allocations: 3.938 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001057/0.01307, allocations: 300.7 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.01312, allocations: 51.41 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.01433, allocations: 0.8613 MB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01435, allocations: 25.7 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.01457, allocations: 219.9 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.01461, allocations: 23.84 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.01467, allocations: 21.72 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.01489, allocations: 362.7 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.01502, allocations: 39.97 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.01514, allocations: 28.05 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.01538, allocations: 80.73 kB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01538, allocations: 0 / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003379/0.01572, allocations: 153.3 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.01574, allocations: 4 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01574, allocations: 0 / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.01577, allocations: 0 / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.0159, allocations: 23.92 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.01591, allocations: 4 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.016, allocations: 11.98 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.01601, allocations: 4 kB / 384.9 MB, free: 11.14 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 (7): * Single equations (assignments): 7 * 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.000313/0.01632, allocations: 221.7 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.0164, allocations: 43.72 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.01681, allocations: 165.5 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01682, allocations: 3.984 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01682, allocations: 0 / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01683, allocations: 4 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.01757, allocations: 441.9 kB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01757, allocations: 0 / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.01766, allocations: 23.97 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01767, allocations: 0 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01768, allocations: 4 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01768, allocations: 0 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01768, allocations: 0 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.01811, allocations: 259.4 kB / 386.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.01817, allocations: 31.72 kB / 386.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.0182, allocations: 7.984 kB / 386.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.0183, allocations: 8 kB / 386.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.01835, allocations: 7.984 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.01835, allocations: 0 / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007673/0.01912, allocations: 0.655 MB / 386.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01912, allocations: 0 / 386.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.01939, allocations: 20 kB / 386.8 MB, free: 9.199 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 (7): * Single equations (assignments): 7 * 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.002009/0.0214, allocations: 447.8 kB / 387.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.0217, allocations: 79.86 kB / 387.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.02171, allocations: 0 / 387.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.02183, allocations: 35.97 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.02229, allocations: 33.95 kB / 387.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.02374, allocations: 0.8268 MB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.02403, allocations: 228 kB / 388.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.02408, allocations: 7.938 kB / 388.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.02413, allocations: 20.48 kB / 388.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02413, allocations: 4 kB / 388.5 MB, free: 7.664 MB / 362.7 MB Notification: Performance of Templates: time 0.006012/0.03015, allocations: 1.468 MB / 389.9 MB, free: 6.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.036425151978619]