Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1921/0.1921, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 80.09 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001697/0.1078, allocations: 494.8 kB / 481.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.1081, allocations: 106.3 kB / 482.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.1081, allocations: 0 / 482.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1082, allocations: 4 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1084, allocations: 11.92 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.164e-05/0.1084, allocations: 8 kB / 482.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.1085, allocations: 3.984 kB / 482.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1085, allocations: 7.938 kB / 482.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.1085, allocations: 3.938 kB / 482.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.1086, allocations: 4 kB / 482.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1086, allocations: 0 / 482.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.1087, allocations: 19.97 kB / 482.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.1087, allocations: 0 / 482.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1087, allocations: 15.94 kB / 482.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.769e-05/0.1088, allocations: 19.91 kB / 482.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1088, allocations: 3.984 kB / 482.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1088, allocations: 4 kB / 482.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1088, allocations: 0 / 482.2 MB, free: 3.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002872/0.1091, allocations: 315.6 kB / 482.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1092, allocations: 8.031 kB / 482.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.1092, allocations: 4.938 kB / 482.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1093, allocations: 164.4 kB / 482.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1093, allocations: 8.375 kB / 482.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1093, allocations: 384 / 482.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.1094, allocations: 38.2 kB / 482.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1094, allocations: 192 / 482.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1095, allocations: 7.938 kB / 482.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1095, allocations: 0 / 482.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.1095, allocations: 7.984 kB / 482.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.1096, allocations: 153.7 kB / 482.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1098, allocations: 34.58 kB / 482.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.1098, allocations: 12.94 kB / 482.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/0.1102, allocations: 109.1 kB / 483 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1102, allocations: 46.44 kB / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1102, allocations: 0 / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001232/0.1115, allocations: 193.3 kB / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1115, allocations: 55.41 kB / 483.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.1116, allocations: 93.86 kB / 483.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1116, allocations: 29.83 kB / 483.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.1116, allocations: 80.14 kB / 483.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1117, allocations: 11.81 kB / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1117, allocations: 21.7 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1118, allocations: 314.8 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.1119, allocations: 15.98 kB / 483.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.112, allocations: 19.98 kB / 483.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1122, allocations: 48.83 kB / 483.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1122, allocations: 0 / 483.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.1124, allocations: 81.5 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1124, allocations: 7.938 kB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1124, allocations: 0 / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1125, allocations: 4 kB / 484 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1126, allocations: 15.98 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1126, allocations: 0 / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.1127, allocations: 11.98 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1127, allocations: 4 kB / 484 MB, free: 1.719 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 (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 8.393e-05/0.1128, allocations: 105.8 kB / 484.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1128, allocations: 7.875 kB / 484.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.1131, allocations: 101.4 kB / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1131, allocations: 0 / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1131, allocations: 0 / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1131, allocations: 0 / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.1138, allocations: 363.2 kB / 484.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1138, allocations: 0 / 484.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.1139, allocations: 16.02 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1139, allocations: 4 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1139, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1139, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1139, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1142, allocations: 184.2 kB / 484.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.1142, allocations: 85.02 kB / 484.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1143, allocations: 3.938 kB / 484.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1144, allocations: 7.984 kB / 484.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1144, allocations: 8 kB / 484.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1144, allocations: 0 / 484.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.1e-05/0.1145, allocations: 79.28 kB / 485 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1145, allocations: 0 / 485 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1147, allocations: 8 kB / 485 MB, free: 0.6562 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 (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 Backend phase and start with SimCode phase: time 0.0001199/0.1148, allocations: 103.3 kB / 485.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.115, allocations: 51.89 kB / 485.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1151, allocations: 4 kB / 485.1 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.1151, allocations: 23.92 kB / 485.2 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1154, allocations: 4 kB / 485.2 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.1157, allocations: 133.8 kB / 485.3 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.116, allocations: 0.6807 MB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.116, allocations: 4 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.116, allocations: 11.44 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1161, allocations: 0 / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Templates: time 0.002558/0.1186, allocations: 0.6622 MB / 486.7 MB, free: 14.92 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches