Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001834/0.001834, allocations: 85.34 kB / 20.68 MB, free: 1.035 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.002173/0.002173, allocations: 159 kB / 23.95 MB, free: 4.168 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.101e-05, allocations: 2.281 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001582/0.001613, allocations: 0.5345 MB / 443.2 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.002399, allocations: 378.8 kB / 443.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.002427, allocations: 0 / 443.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.002451, allocations: 3.938 kB / 443.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.002484, allocations: 0 / 443.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.003021, allocations: 131.5 kB / 443.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.003087, allocations: 27.95 kB / 443.7 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.003135, allocations: 7.938 kB / 443.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.003175, allocations: 19.98 kB / 443.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.003235, allocations: 11.97 kB / 443.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.003249, allocations: 0 / 443.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.003504, allocations: 143.7 kB / 443.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.003523, allocations: 11.98 kB / 443.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.003543, allocations: 4 kB / 443.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.003789, allocations: 147.6 kB / 444 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003791, allocations: 0 / 444 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003792, allocations: 0 / 444 MB, free: 3.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.003801, allocations: 0 / 444 MB, free: 3.91 MB / 366.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.0004751/0.004276, allocations: 298 kB / 444.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.004316, allocations: 8.031 kB / 444.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.004353, allocations: 8.891 kB / 444.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.004471, allocations: 109.8 kB / 444.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004484, allocations: 384 / 444.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.004516, allocations: 12.33 kB / 444.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.004649, allocations: 58.17 kB / 444.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.004661, allocations: 192 / 444.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.004671, allocations: 4.312 kB / 444.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.004677, allocations: 12.06 kB / 444.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.004744, allocations: 23.98 kB / 444.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.004912, allocations: 117.3 kB / 444.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.005154, allocations: 54.59 kB / 444.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.005205, allocations: 24.84 kB / 444.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.005455, allocations: 27.95 kB / 444.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.005481, allocations: 30.56 kB / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.005482, allocations: 0 / 444.8 MB, free: 3.027 MB / 366.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.3411/0.3466, allocations: 6.39 MB / 451.2 MB, free: 18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.3466, allocations: 53.19 kB / 451.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.3467, allocations: 103.2 kB / 451.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.3467, allocations: 26.89 kB / 451.4 MB, free: 17.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.3467, allocations: 86.41 kB / 451.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.3468, allocations: 64.7 kB / 451.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.347, allocations: 86.05 kB / 451.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.347, allocations: 319.8 kB / 451.9 MB, free: 17.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.3476, allocations: 229 kB / 452.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.3481, allocations: 231.1 kB / 452.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.3503, allocations: 0.5662 MB / 452.9 MB, free: 17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3503, allocations: 0 / 452.9 MB, free: 17 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00193/0.3523, allocations: 0.6146 MB / 453.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3523, allocations: 7.781 kB / 453.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3523, allocations: 0 / 453.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3523, allocations: 2.562 kB / 453.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.353, allocations: 103.8 kB / 453.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.353, allocations: 1.625 kB / 453.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.3535, allocations: 29.77 kB / 453.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.3536, allocations: 32.33 kB / 453.7 MB, free: 16.78 MB / 366.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.0001324/0.3537, allocations: 127 kB / 453.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.3538, allocations: 8.688 kB / 453.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.356, allocations: 0.7257 MB / 454.6 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.356, allocations: 2.469 kB / 454.6 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.356, allocations: 1.125 kB / 454.6 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.356, allocations: 2.578 kB / 454.6 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.3605, allocations: 1.051 MB / 455.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3605, allocations: 3.188 kB / 455.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.3611, allocations: 99.48 kB / 455.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3612, allocations: 8.438 kB / 455.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.3612, allocations: 30.33 kB / 455.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3612, allocations: 7.234 kB / 455.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3612, allocations: 1.219 kB / 455.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.363, allocations: 0.5743 MB / 456.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.363, allocations: 14.27 kB / 456.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.363, allocations: 11.5 kB / 456.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.3635, allocations: 23.83 kB / 456.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3635, allocations: 17.08 kB / 456.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.3636, allocations: 27.77 kB / 456.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.3636, allocations: 84.81 kB / 456.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 456.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001825/0.3654, allocations: 0.6478 MB / 457.2 MB, free: 15.55 MB / 366.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.003325/0.3688, allocations: 324 kB / 457.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.37, allocations: 435 kB / 457.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.37, allocations: 8.516 kB / 457.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.3706, allocations: 194.2 kB / 458.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3709, allocations: 17.38 kB / 458.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3734, allocations: 0.5152 MB / 458.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.3734, allocations: 82.41 kB / 458.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00041/0.3738, allocations: 127.6 kB / 458.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.3742, allocations: 91.61 kB / 459 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3742, allocations: 1.094 kB / 459 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.07492/0.4491, allocations: 58.3 MB / 0.5051 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.876029826700687]