Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001699/0.001699, allocations: 208.7 kB / 24.49 MB, free: 4.152 MB / 14.72 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 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.2264/0.2264, allocations: 46.95 MB / 361.6 MB, free: 4.285 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+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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.91 kB / 0.4974 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2884, allocations: 66.04 MB / 0.5619 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001558/0.2899, allocations: 0.5382 MB / 0.5624 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.2907, allocations: 406.8 kB / 0.5628 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.2907, allocations: 7.875 kB / 0.5628 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2907, allocations: 0 / 0.5628 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.2908, allocations: 7.938 kB / 0.5628 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2912, allocations: 139.4 kB / 0.5629 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.2913, allocations: 31.86 kB / 0.563 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.2913, allocations: 7.969 kB / 0.563 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.2913, allocations: 15.94 kB / 0.563 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.2914, allocations: 15.92 kB / 0.563 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.2914, allocations: 0 / 0.563 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.2917, allocations: 159.8 kB / 0.5632 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.2917, allocations: 8 kB / 0.5632 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.2917, allocations: 19.86 kB / 0.5632 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2919, allocations: 126.2 kB / 0.5633 GB, free: 2.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2919, allocations: 0 / 0.5633 GB, free: 2.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2919, allocations: 0 / 0.5633 GB, free: 2.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.2919, allocations: 0 / 0.5633 GB, free: 2.988 MB / 398.1 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.0004183/0.2923, allocations: 297.9 kB / 0.5636 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2924, allocations: 8.031 kB / 0.5636 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.2924, allocations: 4.938 kB / 0.5636 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2925, allocations: 106.5 kB / 0.5637 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2925, allocations: 12.31 kB / 0.5637 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.2925, allocations: 4.375 kB / 0.5637 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2927, allocations: 58.17 kB / 0.5638 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2927, allocations: 3.938 kB / 0.5638 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2927, allocations: 0 / 0.5638 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2927, allocations: 4 kB / 0.5638 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.2928, allocations: 31.98 kB / 0.5638 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.2929, allocations: 136.7 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.2931, allocations: 50.59 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.2932, allocations: 28.84 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.2934, allocations: 31.94 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2934, allocations: 34.56 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.2934, allocations: 0 / 0.5641 GB, free: 2.07 MB / 398.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1419/0.4354, allocations: 6.388 MB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4354, allocations: 51.41 kB / 0.5704 GB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4355, allocations: 105.8 kB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.4356, allocations: 29.7 kB / 0.5705 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.4356, allocations: 88.14 kB / 0.5706 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.4357, allocations: 67.38 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.4359, allocations: 93.58 kB / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.436, allocations: 318.8 kB / 0.571 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.4366, allocations: 231.8 kB / 0.5713 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.4371, allocations: 235.8 kB / 0.5715 GB, free: 10.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.4392, allocations: 0.5537 MB / 0.572 GB, free: 9.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4392, allocations: 0 / 0.572 GB, free: 9.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00182/0.441, allocations: 0.6105 MB / 0.5726 GB, free: 9.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.441, allocations: 4 kB / 0.5726 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.441, allocations: 0 / 0.5726 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.441, allocations: 4 kB / 0.5726 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.4417, allocations: 107.8 kB / 0.5727 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4417, allocations: 4 kB / 0.5727 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.4421, allocations: 27.95 kB / 0.5728 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.4422, allocations: 27.95 kB / 0.5728 GB, free: 9.051 MB / 414.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 (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 0.000156/0.4423, allocations: 125.8 kB / 0.5729 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4424, allocations: 7.953 kB / 0.5729 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.4445, allocations: 0.7331 MB / 0.5736 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4445, allocations: 4 kB / 0.5736 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4445, allocations: 0 / 0.5736 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4445, allocations: 0 / 0.5736 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.4486, allocations: 1.125 MB / 0.5747 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4486, allocations: 256 / 0.5747 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.4492, allocations: 99.8 kB / 0.5748 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4492, allocations: 4 kB / 0.5748 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.4492, allocations: 32.14 kB / 0.5749 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.4492, allocations: 8.469 kB / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4492, allocations: 0 / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.4509, allocations: 0.5846 MB / 0.5754 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.4509, allocations: 7.953 kB / 0.5754 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.451, allocations: 8 kB / 0.5755 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.4514, allocations: 31.89 kB / 0.5755 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.4514, allocations: 23.84 kB / 0.5755 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.4515, allocations: 27.95 kB / 0.5755 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.4515, allocations: 83.28 kB / 0.5756 GB, free: 6.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4515, allocations: 4 kB / 0.5756 GB, free: 6.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001692/0.4532, allocations: 0.6479 MB / 0.5762 GB, free: 5.391 MB / 414.1 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.002807/0.456, allocations: 298.5 kB / 0.5765 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.4572, allocations: 439.5 kB / 0.577 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4572, allocations: 0 / 0.577 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.4577, allocations: 200 kB / 0.5771 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.458, allocations: 10.81 kB / 0.5772 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4604, allocations: 0.554 MB / 0.5777 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.4607, allocations: 0.7004 MB / 0.5784 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.4611, allocations: 87.28 kB / 0.5785 GB, free: 3.031 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4611, allocations: 0 / 0.5785 GB, free: 3.031 MB / 414.1 MB Notification: Performance of Templates: time 0.02566/0.4867, allocations: 15.96 MB / 0.5941 GB, free: 3.086 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.47338036308065]