Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001534, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.001819, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3074/0.3074, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004448, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0007095/0.1165, allocations: 232.6 kB / 490.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.1169, allocations: 89.36 kB / 490.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.1169, allocations: 0 / 490.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-06/0.1169, allocations: 3.938 kB / 490.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.117, allocations: 0 / 490.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1171, allocations: 19.92 kB / 490.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.1172, allocations: 8 kB / 490.6 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1173, allocations: 0 / 490.6 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.1173, allocations: 4 kB / 490.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.1174, allocations: 7.922 kB / 490.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1174, allocations: 4 kB / 490.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.1175, allocations: 27.97 kB / 490.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.1175, allocations: 0 / 490.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.1176, allocations: 33.64 kB / 490.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.248e-05/0.1177, allocations: 23.95 kB / 490.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1177, allocations: 4 kB / 490.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1177, allocations: 0 / 490.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1177, allocations: 0 / 490.7 MB, free: 8.887 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000415/0.1181, allocations: 319.4 kB / 491 MB, free: 8.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1182, allocations: 16.02 kB / 491 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1182, allocations: 0 / 491 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1184, allocations: 163.3 kB / 491.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1184, allocations: 0 / 491.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1184, allocations: 11.94 kB / 491.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1186, allocations: 59.34 kB / 491.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1186, allocations: 0 / 491.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1186, allocations: 0 / 491.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1186, allocations: 0 / 491.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.1187, allocations: 15.98 kB / 491.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1191, allocations: 321 kB / 491.6 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.1192, allocations: 30.58 kB / 491.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1192, allocations: 0 / 491.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1192, allocations: 34.64 kB / 491.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1192, allocations: 0 / 491.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.1195, allocations: 61.53 kB / 491.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1195, allocations: 51.41 kB / 491.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.1196, allocations: 97.86 kB / 491.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1197, allocations: 29.7 kB / 491.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.1197, allocations: 150.6 kB / 492 MB, free: 7.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1198, allocations: 11.81 kB / 492 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1198, allocations: 0 / 492 MB, free: 7.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1199, allocations: 322.8 kB / 492.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.12, allocations: 4 kB / 492.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.12, allocations: 21.72 kB / 492.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.1201, allocations: 16.3 kB / 492.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1201, allocations: 0 / 492.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.1202, allocations: 61.61 kB / 492.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1203, allocations: 7.438 kB / 492.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1203, allocations: 0 / 492.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1203, allocations: 4 kB / 492.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1204, allocations: 4 kB / 492.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1204, allocations: 4 kB / 492.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.1205, allocations: 0 / 492.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1205, allocations: 4.031 kB / 492.4 MB, free: 6.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.1206, allocations: 121.7 kB / 492.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1207, allocations: 11.78 kB / 492.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.1208, allocations: 65.17 kB / 492.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1209, allocations: 0 / 492.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1209, allocations: 3.938 kB / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1209, allocations: 0 / 492.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1211, allocations: 161.6 kB / 492.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1211, allocations: 4 kB / 492.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.1212, allocations: 8 kB / 492.8 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1212, allocations: 0 / 492.8 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1212, allocations: 4 kB / 492.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1212, allocations: 0 / 492.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1212, allocations: 0 / 492.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.1214, allocations: 151.4 kB / 493 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.1215, allocations: 77.11 kB / 493 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1215, allocations: 11.98 kB / 493.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1216, allocations: 4.25 kB / 493.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1216, allocations: 0 / 493.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.1217, allocations: 4 kB / 493.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.997e-05/0.1217, allocations: 79.28 kB / 493.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1217, allocations: 0 / 493.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.1221, allocations: 8 kB / 493.1 MB, free: 6.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.1222, allocations: 99.23 kB / 493.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1224, allocations: 24.09 kB / 493.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1224, allocations: 4 kB / 493.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.1224, allocations: 12 kB / 493.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.1226, allocations: 11.94 kB / 493.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.123, allocations: 136.4 kB / 493.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1233, allocations: 0.6848 MB / 494.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1234, allocations: 7.438 kB / 494.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of SimCode: time 3.396e-06/0.1234, allocations: 0 / 494.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Templates: time 0.002591/0.126, allocations: 0.5837 MB / 494.7 MB, free: 4.449 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches