Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0009557/0.0009557, allocations: 79.92 kB / 20.72 MB, free: 3.762 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.00108/0.00108, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8967/0.8967, allocations: 158.6 MB / 186 MB, free: 2.75 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1449/0.1449, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.627e-05, allocations: 2.312 kB / 299 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.005719/0.005746, allocations: 0.5521 MB / 299.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.006484, allocations: 386.7 kB / 300 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.006513, allocations: 0 / 300 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.00653, allocations: 3.938 kB / 300 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.006567, allocations: 0 / 300 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.007046, allocations: 143.4 kB / 300.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.007101, allocations: 27.91 kB / 300.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.007139, allocations: 4 kB / 300.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.007177, allocations: 15.98 kB / 300.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.007234, allocations: 15.91 kB / 300.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.007248, allocations: 4 kB / 300.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.007474, allocations: 131.8 kB / 300.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.007491, allocations: 7.984 kB / 300.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.007514, allocations: 11.92 kB / 300.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.007731, allocations: 151.6 kB / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007735, allocations: 0 / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007736, allocations: 0 / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.00774, allocations: 0 / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003276/0.008068, allocations: 272.5 kB / 300.7 MB, free: 500 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008104, allocations: 12.03 kB / 300.8 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.008133, allocations: 0.9375 kB / 300.8 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.008215, allocations: 117.7 kB / 300.9 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.008227, allocations: 8.375 kB / 300.9 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.00825, allocations: 4.375 kB / 300.9 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.008327, allocations: 46.23 kB / 300.9 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008336, allocations: 4.188 kB / 300.9 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.008343, allocations: 384 / 300.9 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.00835, allocations: 8.125 kB / 300.9 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.008386, allocations: 15.92 kB / 301 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.01098, allocations: 76.94 kB / 301 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01116, allocations: 42.55 kB / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.01119, allocations: 20.84 kB / 301.1 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.01135, allocations: 27.97 kB / 301.1 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.01138, allocations: 38.78 kB / 301.2 MB, free: 8 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.01138, allocations: 4 kB / 301.2 MB, free: 4 kB / 282.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1912/0.2026, allocations: 5.709 MB / 306.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2026, allocations: 63.39 kB / 306.9 MB, free: 18.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.235e-05/0.2027, allocations: 103.2 kB / 307 MB, free: 18.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2027, allocations: 29.7 kB / 307.1 MB, free: 18.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.2027, allocations: 83.73 kB / 307.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.2028, allocations: 65.44 kB / 307.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.2029, allocations: 67.3 kB / 307.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.298e-05/0.2029, allocations: 318.8 kB / 307.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2031, allocations: 139.5 kB / 307.7 MB, free: 18.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2032, allocations: 153.2 kB / 307.9 MB, free: 18.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.204, allocations: 403.1 kB / 308.3 MB, free: 17.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.204, allocations: 0 / 308.3 MB, free: 17.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005928/0.2046, allocations: 386.8 kB / 308.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2046, allocations: 4.281 kB / 308.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2046, allocations: 5.328 kB / 308.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2046, allocations: 0 / 308.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.2049, allocations: 79.81 kB / 308.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2049, allocations: 1.375 kB / 308.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.205, allocations: 27.03 kB / 308.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.205, allocations: 26 kB / 308.8 MB, free: 17.79 MB / 282.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 (19): * Single equations (assignments): 19 * 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 8.751e-05/0.2051, allocations: 120 kB / 308.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2052, allocations: 6.875 kB / 308.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.2059, allocations: 0.4911 MB / 309.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2059, allocations: 2.75 kB / 309.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2059, allocations: 4 kB / 309.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2059, allocations: 9.75 kB / 309.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.2073, allocations: 0.6947 MB / 310.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2073, allocations: 6.625 kB / 310.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2075, allocations: 76.62 kB / 310.2 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2075, allocations: 2.562 kB / 310.2 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2075, allocations: 22.8 kB / 310.2 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.2075, allocations: 6.562 kB / 310.2 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2075, allocations: 1.406 kB / 310.2 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.208, allocations: 392.9 kB / 310.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.2081, allocations: 20.5 kB / 310.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.2081, allocations: 3.812 kB / 310.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2082, allocations: 28.56 kB / 310.7 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.2083, allocations: 10.27 kB / 310.7 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2083, allocations: 21.23 kB / 310.7 MB, free: 16.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.341e-05/0.2083, allocations: 10.58 kB / 310.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2083, allocations: 1 kB / 310.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001484/0.2098, allocations: 0.6489 MB / 311.4 MB, free: 16.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001909/0.2117, allocations: 305.6 kB / 311.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2121, allocations: 301.8 kB / 311.9 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2121, allocations: 1.156 kB / 312 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.2122, allocations: 136.7 kB / 312.1 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.2124, allocations: 42.12 kB / 312.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.2132, allocations: 417.5 kB / 312.5 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.2133, allocations: 66.08 kB / 312.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.2135, allocations: 130.6 kB / 312.7 MB, free: 16.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.2137, allocations: 97.2 kB / 312.8 MB, free: 16 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2137, allocations: 0 / 312.8 MB, free: 16 MB / 282.7 MB Notification: Performance of Templates: time 0.06511/0.2788, allocations: 64.1 MB / 376.9 MB, free: 15.91 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.620918745175004]