Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 110.5 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.001563/0.001563, 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.358/1.358, allocations: 222.9 MB / 242.5 MB, free: 15.35 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.2102/0.2102, allocations: 44.18 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.48 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09597, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002933/0.09893, allocations: 1.637 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.09969, allocations: 419.3 kB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.09976, allocations: 0 / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1, allocations: 75.83 kB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1002, allocations: 51.77 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1005, allocations: 102.8 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1006, allocations: 59.89 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1007, allocations: 24.17 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.1008, allocations: 35.78 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.1009, allocations: 43.83 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1009, allocations: 4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.101, allocations: 39.98 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.1011, allocations: 19.92 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.1011, allocations: 23.8 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1012, allocations: 76.17 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1012, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1012, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1013, allocations: 4 kB / 471.8 MB, free: 12.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004389/0.1017, allocations: 407 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1017, allocations: 8.031 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1018, allocations: 8.844 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.102, allocations: 196.1 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.102, allocations: 384 / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.102, allocations: 8.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1021, allocations: 49.62 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1022, allocations: 4 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1022, allocations: 0 / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1022, allocations: 0 / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1023, allocations: 31.97 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1027, allocations: 304.7 kB / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1028, allocations: 46.55 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1028, allocations: 16.86 kB / 472.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1029, allocations: 96 / 472.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1029, allocations: 42.48 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1029, allocations: 0 / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000875/0.1038, allocations: 229.5 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1038, allocations: 51.41 kB / 473.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.104, allocations: 198.2 kB / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.104, allocations: 29.7 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.1041, allocations: 100.1 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1041, allocations: 23.66 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1042, allocations: 29.64 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1043, allocations: 322.8 kB / 473.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1044, allocations: 27.98 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.1044, allocations: 36.03 kB / 473.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1046, allocations: 68.83 kB / 474 MB, free: 9.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1046, allocations: 3.938 kB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.1048, allocations: 117.4 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1049, allocations: 4 kB / 474.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1049, allocations: 3.984 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1049, allocations: 4 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.105, allocations: 16 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.105, allocations: 3.938 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1051, allocations: 11.98 kB / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1051, allocations: 4 kB / 474.1 MB, free: 9.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.287e-05/0.1052, allocations: 126.4 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1052, allocations: 11.89 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.1055, allocations: 134.6 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1055, allocations: 0 / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1055, allocations: 3.938 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1055, allocations: 0 / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.106, allocations: 423.2 kB / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.106, allocations: 0 / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.1061, allocations: 19.92 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1061, allocations: 4 kB / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1061, allocations: 0 / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1062, allocations: 0 / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1062, allocations: 3.938 kB / 474.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1064, allocations: 212.3 kB / 475 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.1065, allocations: 92.94 kB / 475.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1065, allocations: 0 / 475.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.1066, allocations: 8 kB / 475.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1066, allocations: 7.984 kB / 475.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1066, allocations: 4 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1067, allocations: 145.1 kB / 475.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.1067, allocations: 0 / 475.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.107, allocations: 31.92 kB / 475.3 MB, free: 8.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000981/0.108, allocations: 454.5 kB / 475.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1082, allocations: 75.94 kB / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1082, allocations: 0 / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1083, allocations: 39.92 kB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1087, allocations: 19.92 kB / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.1091, allocations: 310.1 kB / 476.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1094, allocations: 0.7083 MB / 476.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1095, allocations: 15.44 kB / 476.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1095, allocations: 4 kB / 476.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of Templates: time 0.003306/0.1128, allocations: 1.737 MB / 478.7 MB, free: 5.094 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches