Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_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_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.001564/0.001564, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001603/0.001603, allocations: 195 kB / 17.97 MB, free: 5.027 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.37/1.37, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1968/0.1968, allocations: 43.52 MB / 314.7 MB, free: 488 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.001492/0.001492, allocations: 63.59 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07715/0.07866, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001458/0.08015, allocations: 0.5106 MB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.0804, allocations: 87.78 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.08043, allocations: 3.938 kB / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.08045, allocations: 3.938 kB / 442.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.11e-05/0.08048, allocations: 4 kB / 442.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.08064, allocations: 19.91 kB / 442.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.0807, allocations: 7.984 kB / 442.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.08075, allocations: 4 kB / 442.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.08077, allocations: 8 kB / 442.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.08082, allocations: 7.922 kB / 442.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.08083, allocations: 0 / 442.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.08091, allocations: 35.97 kB / 442.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.08092, allocations: 0 / 442.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.08095, allocations: 15.92 kB / 442.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.08103, allocations: 19.97 kB / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.08104, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08104, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.08105, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.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.0002604/0.08131, allocations: 335.4 kB / 443 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.08135, allocations: 11.89 kB / 443 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.08138, allocations: 8.859 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.181e-05/0.08145, allocations: 168.4 kB / 443.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.08146, allocations: 4.312 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.08147, allocations: 4.375 kB / 443.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.08157, allocations: 55.91 kB / 443.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.08159, allocations: 192 / 443.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.0816, allocations: 3.938 kB / 443.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.08161, allocations: 4 kB / 443.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.08165, allocations: 8 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.08184, allocations: 329.1 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.716e-05/0.08189, allocations: 23.08 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.08193, allocations: 16.95 kB / 443.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.08195, allocations: 3.984 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.005e-05/0.08196, allocations: 30.56 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.08197, allocations: 0 / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001441/0.08212, allocations: 65.53 kB / 443.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.08214, allocations: 55.41 kB / 443.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.08218, allocations: 93.86 kB / 443.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.0822, allocations: 29.7 kB / 443.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.08222, allocations: 80.14 kB / 444 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.08223, allocations: 15.73 kB / 444 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.08227, allocations: 17.72 kB / 444 MB, free: 3.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.0823, allocations: 310.8 kB / 444.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.08233, allocations: 12.12 kB / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.08236, allocations: 25.7 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.0824, allocations: 25.66 kB / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08241, allocations: 0 / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.223e-05/0.08248, allocations: 61.62 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.0825, allocations: 4 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.08251, allocations: 0 / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.08253, allocations: 4.031 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.08259, allocations: 15.92 kB / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.0826, allocations: 0 / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.08262, allocations: 4 kB / 444.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.08264, allocations: 0 / 444.5 MB, free: 3.406 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.08268, allocations: 121.7 kB / 444.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.08271, allocations: 3.906 kB / 444.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.08281, allocations: 69.48 kB / 444.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.08282, allocations: 0 / 444.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08283, allocations: 4 kB / 444.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.08284, allocations: 7.969 kB / 444.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.08294, allocations: 157.6 kB / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08295, allocations: 3.938 kB / 444.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.08299, allocations: 15.92 kB / 444.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.083, allocations: 0 / 444.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.08301, allocations: 0 / 444.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.08302, allocations: 4 kB / 444.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.08302, allocations: 0 / 444.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.08311, allocations: 155.5 kB / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.08313, allocations: 77.11 kB / 445.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.08314, allocations: 4 kB / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.0832, allocations: 0 / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.08323, allocations: 7.984 kB / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.08323, allocations: 0 / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.08325, allocations: 79.28 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08326, allocations: 0 / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.08348, allocations: 8.094 kB / 445.2 MB, free: 2.598 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.95e-05/0.08357, allocations: 103.2 kB / 445.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.08366, allocations: 27.98 kB / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.08367, allocations: 0 / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.0837, allocations: 15.94 kB / 445.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.08392, allocations: 7.938 kB / 445.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.0841, allocations: 105 kB / 445.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/0.08418, allocations: 0.6807 MB / 446.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.08421, allocations: 4.25 kB / 446.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.08423, allocations: 7.438 kB / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08424, allocations: 0 / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of Templates: time 0.002105/0.08635, allocations: 466.7 kB / 446.6 MB, free: 1.137 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches