Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009424, allocations: 97.64 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 183.6 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4735/0.4735, allocations: 43.57 MB / 315 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004794, allocations: 12 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002727/0.1458, allocations: 1.656 MB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1474, allocations: 0.9406 MB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.1475, allocations: 0 / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1477, allocations: 35.78 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.148, allocations: 127.6 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.1488, allocations: 375.3 kB / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.1491, allocations: 235.3 kB / 446.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1493, allocations: 68.45 kB / 446.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1494, allocations: 103.5 kB / 447 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1497, allocations: 159.3 kB / 447.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1497, allocations: 8 kB / 447.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1498, allocations: 31.98 kB / 447.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1499, allocations: 135.6 kB / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1501, allocations: 172.4 kB / 447.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1504, allocations: 326.6 kB / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1504, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1504, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1504, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008429/0.1513, allocations: 0.6728 MB / 448.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1513, allocations: 12.03 kB / 448.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.1514, allocations: 52.28 kB / 448.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.1519, allocations: 436 kB / 448.9 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.152, allocations: 12.31 kB / 449 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.152, allocations: 12.12 kB / 449 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1523, allocations: 135.3 kB / 449.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1523, allocations: 7.891 kB / 449.1 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1523, allocations: 8 kB / 449.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1523, allocations: 4 kB / 449.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.1525, allocations: 87.83 kB / 449.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.1534, allocations: 0.6605 MB / 449.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1536, allocations: 105.2 kB / 450 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1537, allocations: 49.83 kB / 450 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1538, allocations: 3.984 kB / 450 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1538, allocations: 42.5 kB / 450.1 MB, free: 6.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1538, allocations: 0 / 450.1 MB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001365/0.1552, allocations: 0.5256 MB / 450.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1553, allocations: 81.09 kB / 450.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.1561, allocations: 0.8504 MB / 451.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1562, allocations: 29.7 kB / 451.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1563, allocations: 240.3 kB / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1564, allocations: 55.2 kB / 451.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1564, allocations: 17.72 kB / 451.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1566, allocations: 366.7 kB / 452.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1568, allocations: 63.95 kB / 452.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1569, allocations: 85.61 kB / 452.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.1573, allocations: 157.6 kB / 452.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1573, allocations: 0 / 452.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004417/0.1577, allocations: 233.1 kB / 452.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1578, allocations: 4 kB / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1578, allocations: 0 / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1578, allocations: 4.75 kB / 452.7 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.158, allocations: 40.19 kB / 452.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.158, allocations: 7.984 kB / 452.8 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1581, allocations: 19.84 kB / 452.8 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1582, allocations: 11.98 kB / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002061/0.1584, allocations: 205.7 kB / 453 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.1585, allocations: 55.33 kB / 453.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.1591, allocations: 285.8 kB / 453.4 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1591, allocations: 8 kB / 453.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1591, allocations: 0 / 453.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1591, allocations: 0 / 453.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1601, allocations: 0.7751 MB / 454.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1602, allocations: 0 / 454.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1603, allocations: 43.91 kB / 454.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1603, allocations: 3.938 kB / 454.2 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1604, allocations: 8 kB / 454.2 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1604, allocations: 3.938 kB / 454.2 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1604, allocations: 0 / 454.2 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.1609, allocations: 414 kB / 454.6 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1611, allocations: 144.4 kB / 454.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1611, allocations: 0 / 454.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.1613, allocations: 23.92 kB / 454.8 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.1614, allocations: 19.91 kB / 454.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1614, allocations: 12 kB / 454.8 MB, free: 1.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007043/0.1621, allocations: 0.612 MB / 455.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1621, allocations: 0 / 455.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.1625, allocations: 55.98 kB / 455.5 MB, free: 496 kB / 382.1 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 (16): * Single equations (assignments): 16 * 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.001011/0.1635, allocations: 410 kB / 455.9 MB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.228/0.3915, allocations: 157.8 kB / 456 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.3916, allocations: 3.031 kB / 456 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3918, allocations: 88.42 kB / 456.1 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.3927, allocations: 69.3 kB / 456.2 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3939, allocations: 0.9973 MB / 457.2 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3941, allocations: 0.8477 MB / 458 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3943, allocations: 77.48 kB / 458.1 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.3944, allocations: 35.22 kB / 458.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3944, allocations: 0 / 458.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of Templates: time 0.007413/0.4018, allocations: 3.635 MB / 461.8 MB, free: 45.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches