Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, 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.001203/0.001203, 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2223/0.2223, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.97 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003078/0.1084, allocations: 1.649 MB / 471.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1098, allocations: 0.8652 MB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.1099, allocations: 0 / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1102, allocations: 63.8 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1105, allocations: 71.67 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1108, allocations: 98.94 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1109, allocations: 107.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.111, allocations: 8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.1111, allocations: 43.84 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.1112, allocations: 51.7 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1112, allocations: 0 / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.1113, allocations: 27.98 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1113, allocations: 12 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.1114, allocations: 39.72 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1116, allocations: 95.94 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1116, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1116, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1116, allocations: 4 kB / 473.1 MB, free: 11.24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004953/0.1121, allocations: 399 kB / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1122, allocations: 12.03 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1122, allocations: 12.83 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1124, allocations: 200.2 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1124, allocations: 4.375 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1125, allocations: 4.125 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1126, allocations: 49.67 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1126, allocations: 4 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1126, allocations: 4 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1126, allocations: 0 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.1127, allocations: 19.92 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.1129, allocations: 185.5 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1131, allocations: 50.61 kB / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.1131, allocations: 24.8 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1132, allocations: 0 / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.1133, allocations: 71.33 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1134, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002693/0.1136, allocations: 97.5 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1137, allocations: 51.41 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1138, allocations: 194.1 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1139, allocations: 25.7 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1139, allocations: 100.1 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1139, allocations: 15.81 kB / 474.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.114, allocations: 21.7 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.1141, allocations: 322.8 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.1142, allocations: 12 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.1142, allocations: 25.7 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.1143, allocations: 49.64 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1143, allocations: 4 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001497/0.1145, allocations: 81.78 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1145, allocations: 7.938 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1145, allocations: 4 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1145, allocations: 4 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.1146, allocations: 8 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1146, allocations: 8.016 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1147, allocations: 11.98 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1147, allocations: 0 / 475.1 MB, free: 8.965 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 (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 9.394e-05/0.1148, allocations: 121.8 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1148, allocations: 15.89 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1149, allocations: 12.47 kB / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1149, allocations: 0 / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1149, allocations: 0 / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1149, allocations: 0 / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.115, allocations: 197.5 kB / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.115, allocations: 0 / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.1151, allocations: 7.984 kB / 475.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1151, allocations: 3.938 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1151, allocations: 0 / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1151, allocations: 0 / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1151, allocations: 3.984 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1153, allocations: 109 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1153, allocations: 96.89 kB / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1153, allocations: 0 / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.1154, allocations: 4 kB / 475.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.1154, allocations: 3.984 kB / 475.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1154, allocations: 4 kB / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.952e-05/0.1155, allocations: 139.2 kB / 475.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1155, allocations: 0 / 475.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1158, allocations: 20 kB / 475.8 MB, free: 8.141 MB / 350.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: 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 (5): * Single equations (assignments): 3 * 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.0009317/0.1167, allocations: 403.7 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1169, allocations: 47.92 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1169, allocations: 0 / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.358e-05/0.1169, allocations: 23.92 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1172, allocations: 39.16 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1176, allocations: 228 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1179, allocations: 0.6963 MB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.1179, allocations: 15.42 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1179, allocations: 0 / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Templates: time 0.003342/0.1213, allocations: 1.678 MB / 478.9 MB, free: 5.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches