Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 105.2 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.203/0.203, allocations: 43.53 MB / 314.7 MB, free: 464 kB / 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.001434/0.001434, allocations: 63.38 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1149, allocations: 57.8 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00323/0.1181, allocations: 1.556 MB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000559/0.1187, allocations: 335.5 kB / 443.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.1188, allocations: 0 / 443.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1191, allocations: 35.78 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1192, allocations: 35.84 kB / 443.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1195, allocations: 71.78 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1196, allocations: 63.89 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1197, allocations: 8.125 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.1198, allocations: 31.84 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.1199, allocations: 19.92 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1199, allocations: 7.938 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.12, allocations: 59.95 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1201, allocations: 15.94 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1201, allocations: 19.81 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1203, allocations: 95.75 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1203, allocations: 0 / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1203, allocations: 4 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1203, allocations: 0 / 444.3 MB, free: 3.777 MB / 318.1 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.0004292/0.1208, allocations: 387.1 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1208, allocations: 12.03 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1208, allocations: 8.781 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.121, allocations: 195.9 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.121, allocations: 4.375 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1211, allocations: 4.375 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1212, allocations: 75.33 kB / 445 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1212, allocations: 3.984 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1212, allocations: 0 / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1213, allocations: 0 / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.1214, allocations: 43.91 kB / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.1217, allocations: 292.7 kB / 445.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1218, allocations: 58.55 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1219, allocations: 20.98 kB / 445.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1219, allocations: 7.922 kB / 445.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1219, allocations: 34.56 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1219, allocations: 0 / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005375/0.1225, allocations: 169.4 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1225, allocations: 81.11 kB / 445.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1226, allocations: 145.1 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1227, allocations: 29.7 kB / 445.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.1227, allocations: 92.14 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1227, allocations: 31.55 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1228, allocations: 17.72 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.1228, allocations: 326.8 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.1229, allocations: 19.98 kB / 446.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.123, allocations: 37.77 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1231, allocations: 60.86 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1231, allocations: 0 / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000161/0.1233, allocations: 93.59 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1233, allocations: 5.25 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1233, allocations: 0 / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1233, allocations: 4 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1234, allocations: 15.98 kB / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1234, allocations: 0 / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.1235, allocations: 8 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1235, allocations: 7.938 kB / 446.6 MB, free: 1.297 MB / 318.1 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 5.915e-05/0.1235, allocations: 125.7 kB / 446.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1236, allocations: 7.906 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1238, allocations: 118.2 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1238, allocations: 0 / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1238, allocations: 4 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1238, allocations: 4 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1242, allocations: 374.5 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1242, allocations: 0 / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1243, allocations: 19.92 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1243, allocations: 0 / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1243, allocations: 0 / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1243, allocations: 7.938 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1243, allocations: 0 / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.1245, allocations: 195.8 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.1245, allocations: 77.11 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1246, allocations: 0 / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.1246, allocations: 7.938 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1247, allocations: 11.98 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1247, allocations: 4 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.1248, allocations: 111.2 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.125, allocations: 24 kB / 447.6 MB, free: 120 kB / 318.1 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.001064/0.1261, allocations: 456.8 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1263, allocations: 63.95 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1263, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1264, allocations: 35.92 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1268, allocations: 19.92 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.1272, allocations: 170 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1274, allocations: 0.6937 MB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.1275, allocations: 16.28 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1276, allocations: 23.42 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1276, allocations: 0 / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Templates: time 0.00405/0.1316, allocations: 1.482 MB / 450.6 MB, free: 13.21 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches