Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0008859/0.0008859, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.006898/0.006898, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8782/0.8782, allocations: 177.1 MB / 205 MB, free: 5.723 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.2371/0.2371, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.158e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.153/0.153, allocations: 1.605 MB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.1537, allocations: 0.5258 MB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1537, allocations: 0 / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1539, allocations: 83.75 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1541, allocations: 102.7 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1543, allocations: 93.56 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1544, allocations: 89.75 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.1545, allocations: 10.59 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1545, allocations: 47.5 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1546, allocations: 46.17 kB / 446.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1546, allocations: 2.906 kB / 446.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1547, allocations: 48.3 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.1547, allocations: 19.58 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1547, allocations: 13.38 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1549, allocations: 101.6 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1549, allocations: 0.625 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1549, allocations: 0.5625 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1549, allocations: 0 / 446.2 MB, free: 43.4 MB / 410.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.000281/0.1552, allocations: 345 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1552, allocations: 10.56 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1552, allocations: 10.33 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.1553, allocations: 143.5 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1553, allocations: 3.188 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1553, allocations: 6.5 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.1554, allocations: 51.33 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1554, allocations: 1.5 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1554, allocations: 4.125 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1554, allocations: 2.844 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.1555, allocations: 35.53 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.1557, allocations: 232.5 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.1557, allocations: 36.56 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.1558, allocations: 25.62 kB / 447.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1558, allocations: 3.094 kB / 447.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.1558, allocations: 30.56 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1558, allocations: 0 / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.1563, allocations: 229.9 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.1563, allocations: 54.64 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.1564, allocations: 199.8 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.1564, allocations: 25.7 kB / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.1564, allocations: 105 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.1564, allocations: 24.27 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.1565, allocations: 26.7 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.544e-05/0.1565, allocations: 329.1 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.1565, allocations: 25.81 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.1566, allocations: 25.11 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.1566, allocations: 62.45 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1566, allocations: 0 / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.371e-05/0.1567, allocations: 108.9 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.1567, allocations: 5.562 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1567, allocations: 0 / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1567, allocations: 2.25 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.1568, allocations: 18.88 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1568, allocations: 5.266 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1568, allocations: 8.688 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1568, allocations: 2.719 kB / 448.4 MB, free: 41.79 MB / 410.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 (8): * Single equations (assignments): 8 * 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 4.059e-05/0.1569, allocations: 129.2 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.1569, allocations: 16.81 kB / 448.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.157, allocations: 121.1 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.157, allocations: 2.75 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.157, allocations: 0 / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.157, allocations: 0 / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1573, allocations: 338.3 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1573, allocations: 0 / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.1573, allocations: 16.98 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1573, allocations: 4.031 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1573, allocations: 9.391 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1573, allocations: 3.938 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1573, allocations: 2.594 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.804e-05/0.1574, allocations: 206.9 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.1574, allocations: 6.953 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1574, allocations: 10.33 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.1574, allocations: 5.438 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1575, allocations: 13.94 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1575, allocations: 2.594 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.495e-05/0.1575, allocations: 154.4 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1575, allocations: 0 / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.1577, allocations: 22.66 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006329/0.1583, allocations: 491.6 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1584, allocations: 66.61 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1584, allocations: 0 / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.1585, allocations: 36.25 kB / 450 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1587, allocations: 18.5 kB / 450 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.159, allocations: 276.4 kB / 450.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.159, allocations: 92.7 kB / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.159, allocations: 16.81 kB / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.159, allocations: 0 / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001872/0.1609, allocations: 1.791 MB / 452.2 MB, free: 40.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 4.601192386820912]