Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001278/0.001278, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.399/1.399, allocations: 222.9 MB / 242.6 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.17 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 65.03 kB / 408.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003361/0.1115, allocations: 1.753 MB / 471.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1129, allocations: 0.8692 MB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.113, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1133, allocations: 27.84 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1136, allocations: 59.81 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1139, allocations: 91.83 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1141, allocations: 95.64 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1142, allocations: 12.23 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.1143, allocations: 47.77 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.1144, allocations: 23.86 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1144, allocations: 4 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1146, allocations: 43.98 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.1146, allocations: 27.91 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.1147, allocations: 35.69 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1149, allocations: 88.09 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1149, allocations: 0 / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1149, allocations: 0 / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1149, allocations: 0 / 472.6 MB, free: 11.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005156/0.1154, allocations: 407 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1155, allocations: 8.031 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1155, allocations: 12.84 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1157, allocations: 212 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1158, allocations: 12.3 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1158, allocations: 4.125 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1159, allocations: 57.61 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.116, allocations: 0 / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.116, allocations: 4 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.116, allocations: 0 / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.1161, allocations: 15.98 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1164, allocations: 292.9 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1166, allocations: 58.62 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1167, allocations: 20.84 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1167, allocations: 0 / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1169, allocations: 67.39 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1169, allocations: 3.938 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005307/0.1175, allocations: 173.2 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1175, allocations: 55.41 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1177, allocations: 182.2 kB / 474.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1177, allocations: 33.7 kB / 474.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1178, allocations: 96.14 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1178, allocations: 27.64 kB / 474.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1179, allocations: 25.72 kB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.118, allocations: 326.8 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.118, allocations: 23.98 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.1181, allocations: 37.64 kB / 474.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1182, allocations: 61.7 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1182, allocations: 0 / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.1184, allocations: 105.4 kB / 474.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1185, allocations: 8 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1185, allocations: 0 / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1185, allocations: 0 / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.1186, allocations: 15.98 kB / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1186, allocations: 4.375 kB / 474.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.1187, allocations: 7.938 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1187, allocations: 4 kB / 474.9 MB, free: 8.992 MB / 350.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000112/0.1188, allocations: 129.8 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1188, allocations: 11.91 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.1189, allocations: 16.72 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1189, allocations: 7.922 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1189, allocations: 0 / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1189, allocations: 3.938 kB / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.1194, allocations: 391.3 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1194, allocations: 0 / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1194, allocations: 12.03 kB / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1194, allocations: 0 / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1194, allocations: 7.938 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1195, allocations: 4 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1195, allocations: 3.984 kB / 475.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1197, allocations: 204.4 kB / 475.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1198, allocations: 81.02 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1198, allocations: 16.12 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.1199, allocations: 0 / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1199, allocations: 15.91 kB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.12, allocations: 4 kB / 475.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1201, allocations: 147.2 kB / 475.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1201, allocations: 4 kB / 475.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1204, allocations: 16 kB / 475.9 MB, free: 7.828 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001063/0.1214, allocations: 471.9 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1216, allocations: 63.91 kB / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1217, allocations: 0 / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1217, allocations: 32.05 kB / 476.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1221, allocations: 27.98 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1226, allocations: 272.9 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1229, allocations: 0.708 MB / 477.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1229, allocations: 15.44 kB / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1229, allocations: 0 / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Templates: time 0.003633/0.1266, allocations: 1.906 MB / 479.4 MB, free: 4.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches