Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002405/0.002405, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3528/0.3528, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.045e-05, allocations: 6.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001848/0.001879, allocations: 0.5345 MB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.0028, allocations: 370.9 kB / 378.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.002838, allocations: 4 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.002855, allocations: 3.938 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.002897, allocations: 0 / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.003606, allocations: 151.4 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.003678, allocations: 19.98 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.003725, allocations: 4 kB / 378.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.003779, allocations: 23.91 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.003849, allocations: 15.97 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.003867, allocations: 8 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.004186, allocations: 131.8 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.00421, allocations: 11.92 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.004239, allocations: 11.98 kB / 378.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.004556, allocations: 147.5 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.004561, allocations: 3.984 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004562, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004567, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 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.0005482/0.005115, allocations: 395.9 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.005169, allocations: 12.03 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.005234, allocations: 16.88 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005392, allocations: 104.6 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.005406, allocations: 4.375 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.00544, allocations: 12.33 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.005602, allocations: 62.23 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.005619, allocations: 8.172 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005631, allocations: 4.359 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005639, allocations: 4.125 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.005749, allocations: 47.91 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.005978, allocations: 136.5 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.006158, allocations: 94.97 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.006232, allocations: 35.67 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.006478, allocations: 27.97 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.006521, allocations: 37.39 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.006522, allocations: 0 / 379.7 MB, free: 452 kB / 346.7 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.1431/0.1496, allocations: 5.678 MB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1497, allocations: 51.41 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1498, allocations: 153.9 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1498, allocations: 33.69 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.1499, allocations: 127.4 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.15, allocations: 87.33 kB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.1502, allocations: 63.33 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.1504, allocations: 0.4923 MB / 386.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.1508, allocations: 123.9 kB / 386.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.1512, allocations: 127.9 kB / 386.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.1527, allocations: 345.9 kB / 386.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1527, allocations: 7.875 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001293/0.154, allocations: 377.2 kB / 387.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.154, allocations: 8 kB / 387.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.154, allocations: 4 kB / 387.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.154, allocations: 0 / 387.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1544, allocations: 87.84 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1544, allocations: 0 / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1546, allocations: 23.97 kB / 387.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.1547, allocations: 23.98 kB / 387.5 MB, free: 8.551 MB / 362.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1548, allocations: 164.5 kB / 387.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.1549, allocations: 19.89 kB / 387.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.1564, allocations: 444.7 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1564, allocations: 4 kB / 388.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1564, allocations: 0 / 388.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1564, allocations: 3.984 kB / 388.1 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.159, allocations: 0.7851 MB / 388.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.159, allocations: 0 / 388.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1593, allocations: 79.86 kB / 388.9 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1593, allocations: 0 / 388.9 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.1594, allocations: 15.98 kB / 389 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1594, allocations: 4 kB / 389 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1594, allocations: 8 kB / 389 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1607, allocations: 497.8 kB / 389.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.1607, allocations: 11.95 kB / 389.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1607, allocations: 4 kB / 389.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1609, allocations: 35.91 kB / 389.5 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.161, allocations: 15.97 kB / 389.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.161, allocations: 15.98 kB / 389.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.1611, allocations: 123.2 kB / 389.7 MB, free: 6.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1611, allocations: 3.938 kB / 389.7 MB, free: 6.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001775/0.1628, allocations: 0.6284 MB / 390.3 MB, free: 5.625 MB / 362.7 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 (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.00328/0.1661, allocations: 326.6 kB / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.167, allocations: 286 kB / 390.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.167, allocations: 0 / 390.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.1675, allocations: 151.4 kB / 391 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1677, allocations: 27.98 kB / 391.1 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1688, allocations: 366.1 kB / 391.4 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.1689, allocations: 79.83 kB / 391.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.1692, allocations: 77.14 kB / 391.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1693, allocations: 44.47 kB / 391.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1693, allocations: 0 / 391.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of Templates: time 0.2187/0.388, allocations: 55.3 MB / 446.9 MB, free: 103.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.643479867023416]