Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001172/0.001172, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.004415/0.004415, allocations: 168.5 kB / 24.82 MB, free: 9.203 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.169/1.169, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.356/0.356, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.803e-05, allocations: 2.312 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002771/0.002799, allocations: 1.708 MB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003823, allocations: 0.5413 MB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.00392, allocations: 0 / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.004314, allocations: 71.7 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.004769, allocations: 107.5 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.005126, allocations: 135.6 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.005325, allocations: 87.81 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005444, allocations: 12.22 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.005538, allocations: 55.77 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.00565, allocations: 51.86 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.005665, allocations: 4 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005774, allocations: 55.91 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.005858, allocations: 23.92 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.005883, allocations: 19.92 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.006067, allocations: 103.6 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006069, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006069, allocations: 3.938 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006075, allocations: 4 kB / 381.5 MB, free: 15.36 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.0005377/0.006613, allocations: 443.9 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.006664, allocations: 8.031 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.006714, allocations: 16.84 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006886, allocations: 149.1 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006899, allocations: 4.375 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.006927, allocations: 8.375 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.007085, allocations: 66.88 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.007102, allocations: 8.125 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007114, allocations: 8.125 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.007123, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.007161, allocations: 8 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.007508, allocations: 276.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.007682, allocations: 47.03 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.007706, allocations: 15.69 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.007736, allocations: 12.06 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.007767, allocations: 41.39 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.007769, allocations: 0 / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006443/0.008414, allocations: 221.3 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.008455, allocations: 55.41 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.008646, allocations: 242.3 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.008662, allocations: 29.7 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.008735, allocations: 154.8 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.008781, allocations: 43.67 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.008836, allocations: 27.38 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005637/0.0094, allocations: 0.5039 MB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.009423, allocations: 11.98 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.009446, allocations: 8 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.009502, allocations: 43.94 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009504, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001094/0.009614, allocations: 89.47 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.009629, allocations: 8 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.009635, allocations: 4 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.009652, allocations: 3.984 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.009722, allocations: 23.98 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009726, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.009751, allocations: 8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.009756, allocations: 0 / 384 MB, free: 12.61 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 7.95e-05/0.009835, allocations: 172.4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.00986, allocations: 15.91 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.01001, allocations: 99.62 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01002, allocations: 11.98 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.01003, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01003, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.01038, allocations: 385.2 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.01038, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.01043, allocations: 19.98 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01043, allocations: 7.938 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01044, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01044, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01045, allocations: 8.062 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.0106, allocations: 259.1 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.01062, allocations: 11.91 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01063, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.01067, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01072, allocations: 23.84 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01073, allocations: 3.984 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.0108, allocations: 163.1 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.011, allocations: 24 kB / 385.2 MB, free: 11.33 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.001016/0.01202, allocations: 434.8 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01215, allocations: 51.59 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01215, allocations: 0 / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.0122, allocations: 39.55 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01244, allocations: 31.14 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.01288, allocations: 270.7 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.01294, allocations: 71.33 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.01299, allocations: 24.41 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.01307, allocations: 82.2 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01307, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.004256/0.01732, allocations: 1.73 MB / 388 MB, free: 8.727 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.524075036868453]