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.001121/0.001121, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.354/1.354, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3495/0.3495, allocations: 43.5 MB / 313.5 MB, free: 8.457 MB / 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.00138/0.00138, allocations: 63.91 kB / 382 MB, free: 8.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 57.8 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002086/0.1194, allocations: 0.5698 MB / 440.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.1197, allocations: 97.3 kB / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.1197, allocations: 0 / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.1198, allocations: 4 kB / 440.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.884e-05/0.1198, allocations: 0 / 440.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.12, allocations: 15.92 kB / 440.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.12, allocations: 15.92 kB / 440.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.1201, allocations: 4 kB / 440.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.1201, allocations: 7.984 kB / 440.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.1202, allocations: 7.922 kB / 440.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1202, allocations: 0 / 440.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.1203, allocations: 31.97 kB / 440.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.1203, allocations: 0 / 440.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1203, allocations: 11.94 kB / 440.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.735e-05/0.1204, allocations: 27.97 kB / 440.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1205, allocations: 0 / 440.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1205, allocations: 0 / 440.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1205, allocations: 0 / 440.6 MB, free: 14.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004957/0.121, allocations: 331.5 kB / 440.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.121, allocations: 8.031 kB / 440.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1211, allocations: 0.9375 kB / 440.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1212, allocations: 172.6 kB / 441.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1212, allocations: 12.38 kB / 441.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1212, allocations: 384 / 441.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1214, allocations: 55.91 kB / 441.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1214, allocations: 192 / 441.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1214, allocations: 7.938 kB / 441.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1215, allocations: 3.938 kB / 441.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.1215, allocations: 8 kB / 441.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1219, allocations: 329.1 kB / 441.5 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.122, allocations: 26.52 kB / 441.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.122, allocations: 12.86 kB / 441.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.122, allocations: 4 kB / 441.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1221, allocations: 34.64 kB / 441.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1221, allocations: 0 / 441.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001938/0.1223, allocations: 61.53 kB / 441.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1223, allocations: 55.41 kB / 441.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.1224, allocations: 93.86 kB / 441.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1224, allocations: 25.7 kB / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.1225, allocations: 84.14 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1225, allocations: 15.8 kB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.1225, allocations: 13.72 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1227, allocations: 319 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.1227, allocations: 7.938 kB / 442.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.1227, allocations: 25.7 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.1228, allocations: 29.83 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1228, allocations: 0 / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.191e-05/0.1229, allocations: 61.62 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1229, allocations: 4 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1229, allocations: 4.031 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1229, allocations: 0 / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.123, allocations: 15.92 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.123, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.1231, allocations: 3.938 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.1231, allocations: 4 kB / 442.4 MB, free: 12.02 MB / 382.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 0.0001583/0.1232, allocations: 113.8 kB / 442.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1233, allocations: 7.906 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.1234, allocations: 53.19 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1234, allocations: 8 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1234, allocations: 192 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1234, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.1237, allocations: 169.5 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1237, allocations: 0 / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.1237, allocations: 15.92 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1237, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1238, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1238, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1238, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1239, allocations: 159.5 kB / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1239, allocations: 77.11 kB / 443 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.124, allocations: 0 / 443 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.124, allocations: 4 kB / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1241, allocations: 7.984 kB / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1241, allocations: 0 / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.1241, allocations: 79.28 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1241, allocations: 0 / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1243, allocations: 8.094 kB / 443.1 MB, free: 11.23 MB / 382.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 0.0001429/0.1245, allocations: 107.1 kB / 443.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1246, allocations: 23.98 kB / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1246, allocations: 0 / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.1247, allocations: 15.94 kB / 443.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1249, allocations: 7.938 kB / 443.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1251, allocations: 122.7 kB / 443.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1255, allocations: 0.6809 MB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1255, allocations: 3.938 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.1255, allocations: 11.44 kB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1255, allocations: 0 / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Templates: time 0.00243/0.128, allocations: 438.4 kB / 444.5 MB, free: 9.773 MB / 382.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 -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/jenkins/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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches