Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001754/0.001754, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.463/1.463, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2076/0.2076, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.28 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003574/0.1194, allocations: 1.688 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.121, allocations: 0.8924 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1212, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.1215, allocations: 55.75 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.1219, allocations: 55.75 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1223, allocations: 119.4 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1225, allocations: 95.7 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1226, allocations: 8.219 kB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1228, allocations: 43.8 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.1229, allocations: 27.84 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1229, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.123, allocations: 43.98 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1231, allocations: 23.86 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.1232, allocations: 47.66 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1234, allocations: 127.8 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1235, allocations: 0 / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1235, allocations: 0 / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1235, allocations: 0 / 473.2 MB, free: 11.13 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.0006206/0.1241, allocations: 442.7 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1242, allocations: 12.03 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1242, allocations: 12.75 kB / 473.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1245, allocations: 223.9 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1245, allocations: 384 / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1245, allocations: 12.12 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1247, allocations: 49.67 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1247, allocations: 0 / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1247, allocations: 7.938 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1248, allocations: 0 / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.1248, allocations: 19.98 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1253, allocations: 292.9 kB / 474.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1254, allocations: 58.61 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.1255, allocations: 20.84 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1255, allocations: 4 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.1258, allocations: 67.39 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.1258, allocations: 0 / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000666/0.1265, allocations: 189 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1265, allocations: 51.41 kB / 474.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1268, allocations: 262.9 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1268, allocations: 25.7 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.1269, allocations: 112.1 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1269, allocations: 27.64 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.127, allocations: 33.7 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1271, allocations: 326.8 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1272, allocations: 23.98 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1272, allocations: 34.08 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1274, allocations: 61.78 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1274, allocations: 7.938 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1276, allocations: 105.4 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1276, allocations: 8 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1276, allocations: 0 / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1276, allocations: 0 / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.1277, allocations: 12 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1278, allocations: 11.92 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.1278, allocations: 3.938 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1278, allocations: 8 kB / 475.6 MB, free: 8.414 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.0001268/0.128, allocations: 144.3 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.128, allocations: 11.81 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1281, allocations: 21.39 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1281, allocations: 7.984 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1281, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1281, allocations: 3.938 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.1286, allocations: 395.3 kB / 476.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1286, allocations: 4.219 kB / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.1287, allocations: 11.98 kB / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1287, allocations: 3.938 kB / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1287, allocations: 11.94 kB / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1287, allocations: 0 / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1287, allocations: 0 / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1289, allocations: 204.1 kB / 476.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.129, allocations: 100.9 kB / 476.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.129, allocations: 7.938 kB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1291, allocations: 0 / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1292, allocations: 7.984 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1292, allocations: 8 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1294, allocations: 196.2 kB / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1294, allocations: 0 / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1297, allocations: 24 kB / 476.8 MB, free: 7.172 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.001089/0.1307, allocations: 463.3 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.131, allocations: 63.89 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.131, allocations: 0 / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.1311, allocations: 35.98 kB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1314, allocations: 27.98 kB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.132, allocations: 317.5 kB / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1323, allocations: 0.7187 MB / 478.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1324, allocations: 15.44 kB / 478.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1324, allocations: 0 / 478.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Templates: time 0.004294/0.1367, allocations: 2.06 MB / 480.4 MB, free: 3.613 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches