Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, 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.001272/0.001272, 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.371/1.371, 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.2007/0.2007, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 69.3 kB / 409.1 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 60.81 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003178/0.1073, allocations: 1.704 MB / 471.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1086, allocations: 0.8808 MB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.1087, allocations: 3.938 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.109, allocations: 39.77 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1092, allocations: 47.77 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1095, allocations: 115.6 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1097, allocations: 95.7 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.1098, allocations: 12.23 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.1099, allocations: 43.78 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.1099, allocations: 31.84 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.11, allocations: 4 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.1101, allocations: 36 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.1101, allocations: 23.84 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1102, allocations: 39.72 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1104, allocations: 115.9 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1104, allocations: 0 / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1104, allocations: 4 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1104, allocations: 0 / 473.1 MB, free: 11.14 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.0005161/0.1109, allocations: 403 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.111, allocations: 12.03 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.111, allocations: 12.83 kB / 473.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1112, allocations: 208 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1113, allocations: 4.375 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1113, allocations: 8.125 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1114, allocations: 57.67 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1115, allocations: 0 / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1115, allocations: 3.984 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1115, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.1116, allocations: 19.98 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.1119, allocations: 284.9 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1121, allocations: 62.62 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1122, allocations: 20.84 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1122, allocations: 0 / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1124, allocations: 71.39 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1124, allocations: 3.938 kB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.1129, allocations: 169.2 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.113, allocations: 55.41 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1132, allocations: 190.2 kB / 474.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1132, allocations: 25.7 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.1132, allocations: 100.1 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1133, allocations: 23.64 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1133, allocations: 25.72 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1134, allocations: 330.7 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1135, allocations: 19.98 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1136, allocations: 45.64 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1137, allocations: 61.75 kB / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1137, allocations: 0 / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.1139, allocations: 105.4 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1139, allocations: 4 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1139, allocations: 0 / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1139, allocations: 4.031 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.114, allocations: 19.98 kB / 475.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.114, allocations: 0 / 475.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1141, allocations: 7.875 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1141, allocations: 4 kB / 475.4 MB, free: 8.586 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.098e-05/0.1142, allocations: 125.8 kB / 475.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1142, allocations: 11.91 kB / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.1143, allocations: 12.72 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1143, allocations: 0 / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1143, allocations: 4 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1143, allocations: 7.922 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.1147, allocations: 391.3 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1147, allocations: 0 / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.1148, allocations: 8 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1148, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1148, allocations: 7.938 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1148, allocations: 384 / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1148, allocations: 4.031 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.115, allocations: 204.1 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1151, allocations: 89 kB / 476.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1151, allocations: 11.88 kB / 476.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1152, allocations: 8 kB / 476.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1152, allocations: 11.97 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1153, allocations: 8 kB / 476.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1154, allocations: 139.2 kB / 476.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1154, allocations: 0 / 476.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1156, allocations: 23.98 kB / 476.5 MB, free: 7.43 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.00101/0.1167, allocations: 467.9 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.1168, allocations: 59.91 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1169, allocations: 4 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1169, allocations: 36.06 kB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1173, allocations: 34.98 kB / 477.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.1177, allocations: 253 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.118, allocations: 0.7002 MB / 478 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.118, allocations: 27.38 kB / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.118, allocations: 0 / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of Templates: time 0.00364/0.1217, allocations: 1.89 MB / 479.9 MB, free: 4.105 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches