Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 108.2 kB / 17.09 MB, free: 6.012 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.001164/0.001164, allocations: 198.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1943/0.1943, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.88 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 57.78 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001868/0.1076, allocations: 0.5456 MB / 0.4891 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.1079, allocations: 64.33 kB / 0.4892 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.108, allocations: 3.938 kB / 0.4892 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.108, allocations: 0 / 0.4892 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1084, allocations: 15.91 kB / 0.4892 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.879e-05/0.1084, allocations: 7.938 kB / 0.4892 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.1085, allocations: 8 kB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.1086, allocations: 4 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.1086, allocations: 3.984 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1086, allocations: 4 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1087, allocations: 4 kB / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1088, allocations: 15.98 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.1088, allocations: 3.938 kB / 0.4892 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.1088, allocations: 7.984 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.109, allocations: 15.97 kB / 0.4893 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.109, allocations: 3.938 kB / 0.4893 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.109, allocations: 0 / 0.4893 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.109, allocations: 4 kB / 0.4893 GB, free: 11.1 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003854/0.1094, allocations: 327.5 kB / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1094, allocations: 15.89 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.1095, allocations: 0.9375 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1096, allocations: 160.4 kB / 0.4897 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1096, allocations: 8.312 kB / 0.4897 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1097, allocations: 4.312 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1098, allocations: 38.25 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1098, allocations: 192 / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1098, allocations: 3.938 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1098, allocations: 0 / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.1099, allocations: 8 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.11, allocations: 153.7 kB / 0.4899 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1102, allocations: 42.55 kB / 0.49 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.1103, allocations: 8.859 kB / 0.49 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.1106, allocations: 117.1 kB / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1107, allocations: 34.55 kB / 0.4901 GB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1107, allocations: 0 / 0.4901 GB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001315/0.112, allocations: 185.3 kB / 0.4903 GB, free: 9.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1121, allocations: 55.41 kB / 0.4904 GB, free: 9.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.1122, allocations: 97.86 kB / 0.4905 GB, free: 9.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1122, allocations: 25.7 kB / 0.4905 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.1122, allocations: 80.14 kB / 0.4906 GB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1123, allocations: 19.73 kB / 0.4906 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1123, allocations: 17.72 kB / 0.4906 GB, free: 9.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1124, allocations: 310.8 kB / 0.4909 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.1125, allocations: 24.11 kB / 0.4909 GB, free: 9.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.1126, allocations: 19.97 kB / 0.4909 GB, free: 9.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1128, allocations: 44.83 kB / 0.491 GB, free: 9.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1128, allocations: 0 / 0.491 GB, free: 9.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002123/0.113, allocations: 77.86 kB / 0.4911 GB, free: 9.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.113, allocations: 7.938 kB / 0.4911 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.113, allocations: 4 kB / 0.4911 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1131, allocations: 7.938 kB / 0.4911 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1132, allocations: 15.98 kB / 0.4911 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1132, allocations: 3.984 kB / 0.4911 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.1133, allocations: 8 kB / 0.4911 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1133, allocations: 0 / 0.4911 GB, free: 8.969 MB / 382.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 (5): * Single equations (assignments): 5 * 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.32e-05/0.1134, allocations: 113.8 kB / 0.4912 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.1135, allocations: 7.922 kB / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1137, allocations: 89.16 kB / 0.4913 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1138, allocations: 0 / 0.4913 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1138, allocations: 4 kB / 0.4913 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.1138, allocations: 85 kB / 0.4914 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1138, allocations: 0 / 0.4914 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.1139, allocations: 8 kB / 0.4914 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.1139, allocations: 7.984 kB / 0.4914 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002968/0.1142, allocations: 156.9 kB / 0.4916 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002671/0.1145, allocations: 262.6 kB / 0.4918 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.332e-05/0.1146, allocations: 23.98 kB / 0.4918 GB, free: 8.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.1147, allocations: 79.28 kB / 0.4919 GB, free: 8.086 MB / 382.1 MB Notification: Performance of Backend: time 6.51e-07/0.1147, allocations: 0 / 0.4919 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.1152, allocations: 112.7 kB / 0.492 GB, free: 7.973 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003978/0.1156, allocations: 0.5448 MB / 0.4925 GB, free: 7.379 MB / 382.1 MB Notification: Performance of Templates: time 0.003177/0.1188, allocations: 0.7596 MB / 0.4933 GB, free: 6.621 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches