Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.3 MB / 255.2 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.92 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 83.86 kB / 0.4925 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 65.99 MB / 0.557 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001896/0.1226, allocations: 0.5334 MB / 0.5575 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.1234, allocations: 415.4 kB / 0.5579 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1235, allocations: 0 / 0.5579 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1235, allocations: 3.938 kB / 0.5579 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.1235, allocations: 4 kB / 0.5579 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.124, allocations: 134.9 kB / 0.558 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.1241, allocations: 39.84 kB / 0.558 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1242, allocations: 0 / 0.558 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.1242, allocations: 23.92 kB / 0.5581 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1243, allocations: 19.91 kB / 0.5581 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1243, allocations: 7.938 kB / 0.5581 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.1245, allocations: 159.8 kB / 0.5582 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1246, allocations: 3.984 kB / 0.5582 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.1246, allocations: 23.86 kB / 0.5583 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1248, allocations: 131.6 kB / 0.5584 GB, free: 4.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1248, allocations: 0 / 0.5584 GB, free: 4.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1248, allocations: 0 / 0.5584 GB, free: 4.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1248, allocations: 0 / 0.5584 GB, free: 4.027 MB / 414.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.0004779/0.1253, allocations: 375.1 kB / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1253, allocations: 8.031 kB / 0.5588 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.1254, allocations: 8.891 kB / 0.5588 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1255, allocations: 160.4 kB / 0.5589 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1256, allocations: 8.375 kB / 0.5589 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1256, allocations: 8.312 kB / 0.5589 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1257, allocations: 62.22 kB / 0.559 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1257, allocations: 7.938 kB / 0.559 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1257, allocations: 7.938 kB / 0.559 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1257, allocations: 0 / 0.559 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1258, allocations: 43.95 kB / 0.5591 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1261, allocations: 181.6 kB / 0.5592 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1262, allocations: 82.53 kB / 0.5593 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.1263, allocations: 28.83 kB / 0.5593 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.1265, allocations: 101.1 kB / 0.5594 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1265, allocations: 46.48 kB / 0.5595 GB, free: 2.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.041e-06/0.1266, allocations: 0 / 0.5595 GB, free: 2.742 MB / 414.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.1325/0.2591, allocations: 5.605 MB / 0.5649 GB, free: 13.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.2591, allocations: 63.27 kB / 0.565 GB, free: 13.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.2592, allocations: 93.84 kB / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.2593, allocations: 29.7 kB / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.2593, allocations: 80.52 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.2594, allocations: 79.33 kB / 0.5653 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.2595, allocations: 57.67 kB / 0.5653 GB, free: 12.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2596, allocations: 326.8 kB / 0.5656 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.26, allocations: 112 kB / 0.5658 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.2604, allocations: 111.9 kB / 0.5659 GB, free: 12.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.2619, allocations: 325 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2619, allocations: 0 / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001226/0.2631, allocations: 361.2 kB / 0.5665 GB, free: 11.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2631, allocations: 4 kB / 0.5665 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2631, allocations: 0 / 0.5665 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2632, allocations: 4 kB / 0.5665 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.2635, allocations: 75.92 kB / 0.5666 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2636, allocations: 3.984 kB / 0.5666 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2637, allocations: 35.95 kB / 0.5666 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.2638, allocations: 15.92 kB / 0.5666 GB, free: 11.3 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.2639, allocations: 129.8 kB / 0.5668 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.264, allocations: 11.89 kB / 0.5668 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.2654, allocations: 433.8 kB / 0.5672 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2654, allocations: 0 / 0.5672 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2654, allocations: 0 / 0.5672 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2654, allocations: 0 / 0.5672 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2677, allocations: 0.7806 MB / 0.568 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2677, allocations: 3.938 kB / 0.568 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.268, allocations: 67.94 kB / 0.568 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.268, allocations: 4 kB / 0.568 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.268, allocations: 19.92 kB / 0.568 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.268, allocations: 8 kB / 0.5681 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.268, allocations: 0 / 0.5681 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2692, allocations: 433 kB / 0.5685 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.2693, allocations: 81.06 kB / 0.5685 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.2693, allocations: 8 kB / 0.5686 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2695, allocations: 23.95 kB / 0.5686 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2695, allocations: 19.98 kB / 0.5686 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.2696, allocations: 15.98 kB / 0.5686 GB, free: 9.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.2696, allocations: 79.22 kB / 0.5687 GB, free: 9.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2696, allocations: 0 / 0.5687 GB, free: 9.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001762/0.2714, allocations: 0.6323 MB / 0.5693 GB, free: 8.453 MB / 430.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 (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.003147/0.2745, allocations: 290.6 kB / 0.5696 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.2753, allocations: 259.6 kB / 0.5698 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2753, allocations: 0 / 0.5698 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.2757, allocations: 127.9 kB / 0.57 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.276, allocations: 15.38 kB / 0.57 GB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.277, allocations: 353 kB / 0.5703 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.2773, allocations: 0.6931 MB / 0.571 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.2775, allocations: 47.39 kB / 0.571 GB, free: 6.609 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2775, allocations: 0 / 0.571 GB, free: 6.609 MB / 430.1 MB Notification: Performance of Templates: time 0.02441/0.3019, allocations: 14.17 MB / 0.5849 GB, free: 8.453 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 10.702201216001413]