Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008666, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.000827/0.0008271, allocations: 176.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 242.9 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.25 MB / 338.3 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8.688 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 61.91 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002568/0.1192, allocations: 1.618 MB / 474.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1209, allocations: 0.8888 MB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.121, allocations: 0 / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1214, allocations: 39.77 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1216, allocations: 39.84 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1221, allocations: 122.9 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.1223, allocations: 127.6 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1225, allocations: 29.47 kB / 475.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1226, allocations: 51.66 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1227, allocations: 43.72 kB / 475.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1227, allocations: 8 kB / 475.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1229, allocations: 39.98 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.123, allocations: 27.91 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.123, allocations: 69.38 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1232, allocations: 107.9 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1233, allocations: 0 / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1233, allocations: 0 / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1233, allocations: 3.938 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006781/0.124, allocations: 467.1 kB / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.124, allocations: 8.031 kB / 476.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.1241, allocations: 16.75 kB / 476.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1244, allocations: 223.9 kB / 476.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1244, allocations: 8.375 kB / 476.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1244, allocations: 8.125 kB / 476.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1247, allocations: 108.2 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1247, allocations: 0 / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1248, allocations: 4 kB / 476.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1248, allocations: 4 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.125, allocations: 55.89 kB / 477 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1256, allocations: 0.5048 MB / 477.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.1259, allocations: 86.66 kB / 477.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1261, allocations: 44.84 kB / 477.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1261, allocations: 7.938 kB / 477.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1264, allocations: 87.3 kB / 477.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1264, allocations: 0 / 477.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004307/0.1268, allocations: 149.4 kB / 477.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1269, allocations: 59.34 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1271, allocations: 191.5 kB / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1271, allocations: 29.7 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1272, allocations: 116 kB / 478.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1272, allocations: 23.62 kB / 478.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1272, allocations: 21.7 kB / 478.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1274, allocations: 326.8 kB / 478.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.1275, allocations: 27.98 kB / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1276, allocations: 64.27 kB / 478.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1278, allocations: 112.5 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1278, allocations: 0 / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002978/0.1281, allocations: 137.5 kB / 479 MB, free: 7.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1281, allocations: 6.812 kB / 479 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1282, allocations: 4 kB / 479 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1282, allocations: 3.984 kB / 479 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1283, allocations: 23.94 kB / 479 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1283, allocations: 3.984 kB / 479 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.1284, allocations: 19.84 kB / 479 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1284, allocations: 8.125 kB / 479 MB, free: 6.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001268/0.1285, allocations: 125.8 kB / 479.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1286, allocations: 19.8 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1286, allocations: 13.41 kB / 479.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1286, allocations: 3.938 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1286, allocations: 0 / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1287, allocations: 7.984 kB / 479.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1289, allocations: 205.6 kB / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1289, allocations: 0 / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.129, allocations: 15.98 kB / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.129, allocations: 0 / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.129, allocations: 4 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.129, allocations: 3.938 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.129, allocations: 0 / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.1294, allocations: 200.8 kB / 479.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.1295, allocations: 96.89 kB / 479.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1296, allocations: 7.938 kB / 479.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1296, allocations: 11.92 kB / 479.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1297, allocations: 11.98 kB / 479.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1297, allocations: 4 kB / 479.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1298, allocations: 133.2 kB / 479.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1298, allocations: 4 kB / 479.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1301, allocations: 28.17 kB / 479.9 MB, free: 5.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001021/0.1311, allocations: 414.3 kB / 480.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1314, allocations: 71.91 kB / 480.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.1314, allocations: 4 kB / 480.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1315, allocations: 44.16 kB / 480.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1319, allocations: 43.97 kB / 480.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.1324, allocations: 323.9 kB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1327, allocations: 0.7126 MB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.1328, allocations: 23.38 kB / 481.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1328, allocations: 0 / 481.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004746/0.1375, allocations: 2.135 MB / 483.7 MB, free: 2.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches