Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 105 kB / 16.94 MB, free: 6.156 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.001291/0.001291, allocations: 191.3 kB / 17.86 MB, free: 5.289 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.492/1.492, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2178/0.2178, allocations: 43.52 MB / 314.6 MB, free: 0.5391 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.001531/0.001531, allocations: 69.11 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 57.78 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002782/0.1195, allocations: 1.792 MB / 443 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1206, allocations: 0.874 MB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1207, allocations: 3.938 kB / 443.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.1212, allocations: 315.3 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1215, allocations: 211.4 kB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1218, allocations: 135.4 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.122, allocations: 239.4 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.1221, allocations: 17.53 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1222, allocations: 127.6 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1224, allocations: 195.5 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1224, allocations: 8 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.1225, allocations: 43.98 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1226, allocations: 131.6 kB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.1227, allocations: 150.8 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.123, allocations: 355 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.123, allocations: 4 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.123, allocations: 4 kB / 445.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.123, allocations: 0 / 445.8 MB, free: 2.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007192/0.1237, allocations: 0.7306 MB / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1238, allocations: 15.89 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.1238, allocations: 44.38 kB / 446.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.1243, allocations: 447.8 kB / 447 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1243, allocations: 4.375 kB / 447 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1243, allocations: 8.125 kB / 447 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1245, allocations: 91.3 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1245, allocations: 0 / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1245, allocations: 3.938 kB / 447.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1246, allocations: 0 / 447.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1247, allocations: 31.97 kB / 447.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.125, allocations: 374.4 kB / 447.5 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1252, allocations: 105.2 kB / 447.6 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.1253, allocations: 49.56 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1253, allocations: 0 / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.1256, allocations: 117 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1256, allocations: 0 / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004508/0.126, allocations: 197.4 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1261, allocations: 77.11 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.1271, allocations: 1.034 MB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1271, allocations: 33.7 kB / 449.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1273, allocations: 236.1 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.1273, allocations: 31.62 kB / 449.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1274, allocations: 25.72 kB / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1276, allocations: 366.8 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.1276, allocations: 32.05 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.1278, allocations: 59.41 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1279, allocations: 87.36 kB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1279, allocations: 0 / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000288/0.1282, allocations: 172.8 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1283, allocations: 8.062 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1283, allocations: 4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1283, allocations: 4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1284, allocations: 19.98 kB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1284, allocations: 0 / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.1285, allocations: 11.94 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1286, allocations: 8 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002043/0.1288, allocations: 225.6 kB / 450.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.1288, allocations: 51.34 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.1289, allocations: 68 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1289, allocations: 0 / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.129, allocations: 0 / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.129, allocations: 3.984 kB / 450.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.1293, allocations: 341.4 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1293, allocations: 7.938 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.1293, allocations: 11.98 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1293, allocations: 0 / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1293, allocations: 4 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1293, allocations: 0 / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1293, allocations: 3.938 kB / 450.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1297, allocations: 201.3 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1298, allocations: 140.4 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.1299, allocations: 7.984 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1299, allocations: 4 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.13, allocations: 11.98 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.13, allocations: 8 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007289/0.1308, allocations: 0.7721 MB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1308, allocations: 3.938 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.131, allocations: 44 kB / 452 MB, free: 11.68 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009174/0.132, allocations: 411.4 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.1322, allocations: 91.89 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1322, allocations: 4.125 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1324, allocations: 43.86 kB / 452.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1328, allocations: 74.12 kB / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.134, allocations: 0.9113 MB / 453.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1344, allocations: 0.8388 MB / 454.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.1345, allocations: 27.44 kB / 454.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1345, allocations: 0 / 454.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of Templates: time 0.007296/0.1418, allocations: 5.069 MB / 459.5 MB, free: 4.238 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches