Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001422/0.001422, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.316/1.316, allocations: 222.9 MB / 242.5 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.2071/0.2071, allocations: 44.16 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.78 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 60.84 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003776/0.1068, allocations: 1.752 MB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1083, allocations: 0.8693 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.1084, allocations: 0 / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.1087, allocations: 39.83 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1089, allocations: 47.77 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1092, allocations: 94.58 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1094, allocations: 91.7 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1095, allocations: 12.22 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.1096, allocations: 39.78 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.1097, allocations: 31.8 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1098, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1099, allocations: 43.97 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.11, allocations: 19.92 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.11, allocations: 27.75 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1102, allocations: 92.09 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1102, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1102, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1103, allocations: 4 kB / 472.3 MB, free: 11.64 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.000627/0.1109, allocations: 414.9 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1109, allocations: 12.03 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.111, allocations: 8.844 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1112, allocations: 208 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1113, allocations: 4.375 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1113, allocations: 8.125 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1114, allocations: 53.67 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1115, allocations: 12 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1115, allocations: 0 / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1115, allocations: 0 / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.1116, allocations: 23.92 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.112, allocations: 284.9 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1121, allocations: 62.67 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.1122, allocations: 16.86 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1122, allocations: 0 / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1125, allocations: 71.33 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1125, allocations: 0 / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.113, allocations: 169.2 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1131, allocations: 55.41 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1133, allocations: 186.2 kB / 473.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1133, allocations: 29.7 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1134, allocations: 100.1 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1134, allocations: 23.66 kB / 474 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1134, allocations: 29.7 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1136, allocations: 322.8 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.1136, allocations: 20 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.1137, allocations: 45.64 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1138, allocations: 61.62 kB / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1139, allocations: 0 / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.1141, allocations: 97.5 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1141, allocations: 8 kB / 474.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1141, allocations: 3.938 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1141, allocations: 4.016 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.1142, allocations: 19.94 kB / 474.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1142, allocations: 4 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1143, allocations: 3.938 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1143, allocations: 4 kB / 474.7 MB, free: 9.086 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 9.911e-05/0.1144, allocations: 125.8 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1144, allocations: 7.906 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1145, allocations: 20.7 kB / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1145, allocations: 0 / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1145, allocations: 4 kB / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1145, allocations: 8.297 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.115, allocations: 391.3 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.115, allocations: 4 kB / 475.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.115, allocations: 11.94 kB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.115, allocations: 0 / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.115, allocations: 7.922 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1151, allocations: 4 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1151, allocations: 4.031 kB / 475.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1153, allocations: 200.2 kB / 475.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1154, allocations: 85.02 kB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1154, allocations: 3.938 kB / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.1155, allocations: 4 kB / 475.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1155, allocations: 7.984 kB / 475.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1155, allocations: 8 kB / 475.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1157, allocations: 147.2 kB / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1157, allocations: 0 / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.116, allocations: 20 kB / 475.7 MB, free: 7.934 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.001065/0.117, allocations: 481.7 kB / 476.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1172, allocations: 59.95 kB / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1172, allocations: 0 / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.1173, allocations: 35.92 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1177, allocations: 23.64 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.1182, allocations: 274.8 kB / 476.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1185, allocations: 0.7004 MB / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1186, allocations: 23.38 kB / 477.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1186, allocations: 3.938 kB / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Templates: time 0.0039/0.1225, allocations: 1.897 MB / 479.2 MB, free: 4.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches