Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001975/0.001975, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.00237/0.00237, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.374/1.374, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.2215/0.2215, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 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.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.135e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001556/0.001577, allocations: 0.5412 MB / 407.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.002273, allocations: 352.4 kB / 408.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.002301, allocations: 0 / 408.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.002318, allocations: 0 / 408.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/0.002347, allocations: 3.938 kB / 408.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.002773, allocations: 111.6 kB / 408.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.002829, allocations: 23.92 kB / 408.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.002865, allocations: 0 / 408.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.002903, allocations: 19.97 kB / 408.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.002949, allocations: 11.92 kB / 408.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.002966, allocations: 4 kB / 408.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.003183, allocations: 111.9 kB / 408.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.003196, allocations: 4 kB / 408.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.003223, allocations: 11.98 kB / 408.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.00342, allocations: 119.6 kB / 408.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003422, allocations: 4 kB / 408.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003422, allocations: 0 / 408.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.00343, allocations: 0 / 408.6 MB, free: 1.73 MB / 334.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.000424/0.003854, allocations: 294 kB / 408.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003887, allocations: 8.031 kB / 408.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.003918, allocations: 4.891 kB / 408.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004033, allocations: 117.7 kB / 409.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.004043, allocations: 4.375 kB / 409.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.004072, allocations: 8.312 kB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.004222, allocations: 62.23 kB / 409.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.004235, allocations: 192 / 409.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.004244, allocations: 384 / 409.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.004248, allocations: 384 / 409.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.004332, allocations: 35.86 kB / 409.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.004505, allocations: 117.3 kB / 409.3 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.004708, allocations: 50.56 kB / 409.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.004774, allocations: 29 kB / 409.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.005002, allocations: 31.97 kB / 409.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.00503, allocations: 38.55 kB / 409.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.005031, allocations: 0 / 409.4 MB, free: 0.832 MB / 334.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.04541/0.05045, allocations: 2.577 MB / 412 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.05052, allocations: 55.41 kB / 412.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.05065, allocations: 97.86 kB / 412.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.0507, allocations: 29.7 kB / 412.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.05077, allocations: 95.86 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.05088, allocations: 63.44 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.05104, allocations: 53.69 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.05123, allocations: 322.8 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.05166, allocations: 171.9 kB / 412.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.05208, allocations: 179.3 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.05322, allocations: 412.7 kB / 413.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.05323, allocations: 0 / 413.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001174/0.0544, allocations: 465.3 kB / 413.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.05443, allocations: 11.92 kB / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.05443, allocations: 4 kB / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.05446, allocations: 4 kB / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.05487, allocations: 67.94 kB / 414 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.05488, allocations: 0 / 414 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.05511, allocations: 15.98 kB / 414 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.05516, allocations: 19.98 kB / 414 MB, free: 12.14 MB / 350.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.0001644/0.05533, allocations: 117.8 kB / 414.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.05538, allocations: 23.84 kB / 414.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.05678, allocations: 0.5311 MB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.05679, allocations: 4 kB / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.0568, allocations: 0 / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.0568, allocations: 0 / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.05942, allocations: 0.7841 MB / 415.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.05943, allocations: 256 / 415.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.05973, allocations: 63.95 kB / 415.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.05973, allocations: 4 kB / 415.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.05977, allocations: 20.45 kB / 415.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.05978, allocations: 7.938 kB / 415.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.05978, allocations: 3.938 kB / 415.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.06092, allocations: 456 kB / 416 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.06094, allocations: 7.953 kB / 416 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.06098, allocations: 19.86 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.06119, allocations: 23.98 kB / 416.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.06123, allocations: 19.91 kB / 416.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.06126, allocations: 12 kB / 416.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.06132, allocations: 87.27 kB / 416.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06132, allocations: 0 / 416.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009612/0.06228, allocations: 311.6 kB / 416.5 MB, free: 9.566 MB / 350.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.001613/0.06389, allocations: 270.6 kB / 416.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.06485, allocations: 327.2 kB / 417.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.06486, allocations: 0 / 417.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.06526, allocations: 139.8 kB / 417.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.06558, allocations: 8.375 kB / 417.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.06708, allocations: 429.9 kB / 417.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.06719, allocations: 83.56 kB / 417.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.06754, allocations: 92.97 kB / 417.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.06775, allocations: 48.47 kB / 417.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.06775, allocations: 0 / 417.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Templates: time 0.02781/0.09557, allocations: 18.03 MB / 435.9 MB, free: 6.004 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.056517254561186]