Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001264, allocations: 97.42 kB / 16.99 MB, free: 5.941 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.001587/0.001586, allocations: 183.8 kB / 17.87 MB, free: 5.609 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.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.1919/0.1919, allocations: 44.22 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 9.469 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 61.91 MB / 471.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006416/0.1133, allocations: 222.9 kB / 471.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.1136, allocations: 91.72 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.1137, allocations: 0 / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.1137, allocations: 3.938 kB / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.662e-05/0.1137, allocations: 0 / 471.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1139, allocations: 15.98 kB / 471.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.114, allocations: 4 kB / 471.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1141, allocations: 7.969 kB / 471.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.1141, allocations: 11.94 kB / 471.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.1142, allocations: 0 / 471.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1142, allocations: 0 / 471.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.1143, allocations: 31.95 kB / 471.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.1143, allocations: 4 kB / 471.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1143, allocations: 29.64 kB / 471.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.1144, allocations: 11.98 kB / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1144, allocations: 3.938 kB / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1144, allocations: 4 kB / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1145, allocations: 0 / 471.9 MB, free: 13.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003644/0.1148, allocations: 327.4 kB / 472.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1149, allocations: 8.031 kB / 472.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1149, allocations: 4 kB / 472.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.115, allocations: 159.1 kB / 472.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1151, allocations: 7.969 kB / 472.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1151, allocations: 4 kB / 472.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1152, allocations: 59.36 kB / 472.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1152, allocations: 0 / 472.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1152, allocations: 11.94 kB / 472.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1153, allocations: 0 / 472.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.1153, allocations: 8 kB / 472.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1156, allocations: 329.2 kB / 472.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.1157, allocations: 34.52 kB / 472.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1157, allocations: 3.984 kB / 472.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1158, allocations: 30.56 kB / 472.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1158, allocations: 0 / 472.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001814/0.116, allocations: 53.78 kB / 472.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.116, allocations: 51.41 kB / 472.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.1161, allocations: 97.86 kB / 473 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1161, allocations: 29.69 kB / 473.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.1162, allocations: 84.14 kB / 473.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.1162, allocations: 15.81 kB / 473.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1162, allocations: 0 / 473.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1163, allocations: 314.8 kB / 473.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.1163, allocations: 8 kB / 473.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.1164, allocations: 17.7 kB / 473.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1164, allocations: 16.12 kB / 473.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1164, allocations: 3.938 kB / 473.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.661e-05/0.1165, allocations: 61.58 kB / 473.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1165, allocations: 4 kB / 473.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1166, allocations: 3.938 kB / 473.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1166, allocations: 0 / 473.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.1166, allocations: 11.98 kB / 473.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1167, allocations: 0 / 473.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.1167, allocations: 7.906 kB / 473.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1167, allocations: 0 / 473.6 MB, free: 11.32 MB / 350.1 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 7.39e-05/0.1168, allocations: 117.9 kB / 473.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1168, allocations: 7.953 kB / 473.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.117, allocations: 61.12 kB / 473.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.117, allocations: 0 / 473.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.117, allocations: 0 / 473.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.117, allocations: 0 / 473.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1172, allocations: 157.6 kB / 473.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1172, allocations: 0 / 473.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.1172, allocations: 11.98 kB / 474 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1172, allocations: 7.953 kB / 474 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1172, allocations: 4.188 kB / 474 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1172, allocations: 8 kB / 474 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1173, allocations: 0 / 474 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1174, allocations: 143.5 kB / 474.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.1174, allocations: 85.19 kB / 474.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1174, allocations: 3.953 kB / 474.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.1175, allocations: 8 kB / 474.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1175, allocations: 7.984 kB / 474.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1175, allocations: 3.984 kB / 474.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.1176, allocations: 79.28 kB / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1176, allocations: 0 / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1178, allocations: 4 kB / 474.3 MB, free: 10.52 MB / 350.1 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.0001267/0.1179, allocations: 95.25 kB / 474.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1181, allocations: 28.14 kB / 474.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1181, allocations: 4 kB / 474.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.1181, allocations: 15.94 kB / 474.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1182, allocations: 4 kB / 474.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.1185, allocations: 110.7 kB / 474.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1187, allocations: 0.677 MB / 475.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.1188, allocations: 11.98 kB / 475.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.1188, allocations: 7.438 kB / 475.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1188, allocations: 0 / 475.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of Templates: time 0.00234/0.1211, allocations: 413.6 kB / 475.7 MB, free: 9.109 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches