Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009024, allocations: 95.97 kB / 15.68 MB, free: 488 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.0009781/0.0009782, allocations: 174.3 kB / 16.56 MB, free: 6.375 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.393/1.393, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.328/0.328, allocations: 43.55 MB / 314.5 MB, free: 8.734 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.0005163/0.0005163, allocations: 22.95 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006284/0.1219, allocations: 263.1 kB / 443 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.1226, allocations: 380.9 kB / 443.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.1226, allocations: 4 kB / 443.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.1227, allocations: 0 / 443.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.196e-05/0.1227, allocations: 0 / 443.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.123, allocations: 99.75 kB / 443.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.355e-05/0.1231, allocations: 23.92 kB / 443.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1231, allocations: 4 kB / 443.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.1232, allocations: 15.88 kB / 443.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.1232, allocations: 19.91 kB / 443.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1233, allocations: 4 kB / 443.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.1235, allocations: 147.8 kB / 443.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1235, allocations: 4 kB / 443.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.1236, allocations: 33.64 kB / 443.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1237, allocations: 84.16 kB / 443.8 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1237, allocations: 0 / 443.8 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1237, allocations: 0 / 443.8 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1237, allocations: 8 kB / 443.8 MB, free: 11.99 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000334/0.1241, allocations: 355.2 kB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1241, allocations: 8.031 kB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1242, allocations: 11.86 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1243, allocations: 163 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1243, allocations: 4 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1243, allocations: 8 kB / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1245, allocations: 61.66 kB / 444.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1245, allocations: 11.88 kB / 444.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1245, allocations: 4 kB / 444.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1245, allocations: 7.984 kB / 444.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.1246, allocations: 39.95 kB / 444.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1248, allocations: 181.5 kB / 444.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1249, allocations: 86.48 kB / 444.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.1252, allocations: 117.1 kB / 444.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1252, allocations: 34.56 kB / 444.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.516e-06/0.1252, allocations: 0 / 444.9 MB, free: 10.74 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1277/0.2529, allocations: 5.84 MB / 450.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.253, allocations: 51.41 kB / 450.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2531, allocations: 93.86 kB / 450.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2531, allocations: 29.7 kB / 450.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2532, allocations: 80.52 kB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.2532, allocations: 78.84 kB / 451.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.2533, allocations: 4 kB / 451.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2534, allocations: 323 kB / 451.4 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.2537, allocations: 135.9 kB / 451.5 MB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.2541, allocations: 139.8 kB / 451.6 MB, free: 3.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.2548, allocations: 175.8 kB / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2548, allocations: 0 / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001204/0.2561, allocations: 409.7 kB / 452.2 MB, free: 3.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2561, allocations: 7.125 kB / 452.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2561, allocations: 0 / 452.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2561, allocations: 7.953 kB / 452.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.2565, allocations: 91.91 kB / 452.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2565, allocations: 0 / 452.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2567, allocations: 35.97 kB / 452.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.2567, allocations: 19.97 kB / 452.4 MB, free: 3.164 MB / 382.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 (23): * Single equations (assignments): 23 * 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 0.0001132/0.2569, allocations: 133.8 kB / 452.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2569, allocations: 7.906 kB / 452.5 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2583, allocations: 473.9 kB / 453 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2583, allocations: 7.953 kB / 453 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2583, allocations: 4 kB / 453 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2583, allocations: 0 / 453 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.2605, allocations: 0.8697 MB / 453.9 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2605, allocations: 4 kB / 453.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.2608, allocations: 83.98 kB / 453.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2609, allocations: 8 kB / 454 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.2609, allocations: 15.98 kB / 454 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2609, allocations: 0 / 454 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2609, allocations: 4 kB / 454 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2621, allocations: 496.1 kB / 454.5 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.2621, allocations: 85.02 kB / 454.5 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.2621, allocations: 4 kB / 454.5 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2623, allocations: 39.97 kB / 454.6 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.2624, allocations: 19.88 kB / 454.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.2624, allocations: 15.98 kB / 454.6 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.171e-05/0.2625, allocations: 75.28 kB / 454.7 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2625, allocations: 3.938 kB / 454.7 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001666/0.2641, allocations: 0.6288 MB / 455.3 MB, free: 84 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.1815/0.4456, allocations: 305.5 kB / 455.6 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.4466, allocations: 301 kB / 455.9 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4466, allocations: 0 / 455.9 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.447, allocations: 155.6 kB / 456.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.4472, allocations: 10.06 kB / 456.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.4481, allocations: 414.4 kB / 456.5 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4482, allocations: 0.6967 MB / 457.2 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.4485, allocations: 76.64 kB / 457.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4486, allocations: 47.88 kB / 457.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4486, allocations: 0 / 457.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of Templates: time 0.06904/0.5176, allocations: 53.77 MB / 0.4991 GB, free: 22.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches