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.001615/0.001615, allocations: 112.4 kB / 17.09 MB, free: 5.984 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.001931/0.001931, allocations: 195.4 kB / 18.02 MB, free: 5.062 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.207/1.207, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1967/0.1967, allocations: 43.52 MB / 314.8 MB, free: 448 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.00144/0.00144, allocations: 69.45 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001686/0.1061, allocations: 0.534 MB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.1063, allocations: 64.27 kB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1064, allocations: 0 / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1064, allocations: 3.938 kB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1066, allocations: 15.92 kB / 0.4892 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.176e-05/0.1067, allocations: 11.98 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.1067, allocations: 15.92 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.1068, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.1068, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.1068, allocations: 7.938 kB / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1069, allocations: 0 / 0.4892 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.107, allocations: 19.97 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.107, allocations: 7.938 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.107, allocations: 4 kB / 0.4892 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1071, allocations: 15.97 kB / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1071, allocations: 4 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1071, allocations: 3.938 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1071, allocations: 0 / 0.4893 GB, free: 11.06 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.0003469/0.1075, allocations: 327.5 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1075, allocations: 11.89 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1075, allocations: 4.938 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1077, allocations: 164.4 kB / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.1077, allocations: 384 / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1077, allocations: 384 / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1078, allocations: 38.27 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1078, allocations: 192 / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1079, allocations: 3.938 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1079, allocations: 7.938 kB / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.1079, allocations: 7.984 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1081, allocations: 149.7 kB / 0.4899 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1082, allocations: 34.61 kB / 0.49 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.1083, allocations: 16.84 kB / 0.49 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.1086, allocations: 113.1 kB / 0.4901 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1087, allocations: 38.56 kB / 0.4901 GB, free: 9.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.1087, allocations: 3.938 kB / 0.4901 GB, free: 9.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001306/0.11, allocations: 181.4 kB / 0.4903 GB, free: 9.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.11, allocations: 51.41 kB / 0.4904 GB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.1101, allocations: 101.8 kB / 0.4905 GB, free: 9.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1101, allocations: 25.7 kB / 0.4905 GB, free: 9.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.1102, allocations: 80.27 kB / 0.4906 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1102, allocations: 19.75 kB / 0.4906 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1103, allocations: 17.72 kB / 0.4906 GB, free: 9.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1104, allocations: 318.8 kB / 0.4909 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.1105, allocations: 15.98 kB / 0.4909 GB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1106, allocations: 19.98 kB / 0.4909 GB, free: 9.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1107, allocations: 45.02 kB / 0.491 GB, free: 9.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1107, allocations: 4 kB / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002212/0.111, allocations: 77.66 kB / 0.4911 GB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.111, allocations: 11.88 kB / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.111, allocations: 0 / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.111, allocations: 3.938 kB / 0.4911 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1112, allocations: 23.92 kB / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1112, allocations: 0 / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.1113, allocations: 7.984 kB / 0.4911 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1113, allocations: 8 kB / 0.4911 GB, free: 8.918 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.1e-05/0.1114, allocations: 109.8 kB / 0.4912 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1114, allocations: 3.938 kB / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1117, allocations: 89.2 kB / 0.4913 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1117, allocations: 0 / 0.4913 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1117, allocations: 4 kB / 0.4913 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.1118, allocations: 84.95 kB / 0.4914 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1118, allocations: 4 kB / 0.4914 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.1119, allocations: 7.984 kB / 0.4914 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1119, allocations: 4 kB / 0.4914 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003057/0.1122, allocations: 160.9 kB / 0.4916 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000289/0.1125, allocations: 250.7 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.781e-05/0.1126, allocations: 28.16 kB / 0.4918 GB, free: 8.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.1127, allocations: 79.28 kB / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.1127, allocations: 0 / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.1132, allocations: 110.4 kB / 0.492 GB, free: 7.93 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003905/0.1136, allocations: 0.5409 MB / 0.4925 GB, free: 7.34 MB / 382.1 MB Notification: Performance of Templates: time 0.002843/0.1164, allocations: 0.7592 MB / 0.4933 GB, free: 6.582 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