Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007467/0.0007467, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.00177, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002986, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.823/0.823, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1347/0.9577, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1201/0.1201, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01644/0.1365, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.069e-05, allocations: 2.312 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008963/0.000907, allocations: 0.5937 MB / 286.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.001271, allocations: 346.6 kB / 286.8 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.001287, allocations: 4 kB / 286.8 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.589e-06/0.001292, allocations: 3.938 kB / 286.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.007e-06/0.001301, allocations: 0 / 286.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.001487, allocations: 95.52 kB / 286.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.001536, allocations: 23.92 kB / 286.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.001568, allocations: 3.984 kB / 286.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.001615, allocations: 23.98 kB / 286.9 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.001667, allocations: 19.91 kB / 286.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.00168, allocations: 8 kB / 286.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.001857, allocations: 123.8 kB / 287.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.001869, allocations: 4 kB / 287.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.001882, allocations: 11.94 kB / 287.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.002012, allocations: 91.78 kB / 287.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.002025, allocations: 0 / 287.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002025, allocations: 0 / 287.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.002033, allocations: 0 / 287.2 MB, free: 7.086 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.0002974/0.00233, allocations: 284.2 kB / 287.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.002357, allocations: 8.031 kB / 287.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.002383, allocations: 8.938 kB / 287.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.002459, allocations: 113.7 kB / 287.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.002468, allocations: 4.375 kB / 287.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.002489, allocations: 8.328 kB / 287.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.002556, allocations: 46.23 kB / 287.6 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.002566, allocations: 8.172 kB / 287.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.002571, allocations: 384 / 287.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.002576, allocations: 384 / 287.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.002604, allocations: 15.88 kB / 287.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.386e-05/0.002687, allocations: 73.03 kB / 287.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.002809, allocations: 38.56 kB / 287.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.00283, allocations: 24.84 kB / 287.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.002957, allocations: 35.95 kB / 287.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.002979, allocations: 34.78 kB / 287.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.51e-07/0.00298, allocations: 0 / 287.9 MB, free: 6.305 MB / 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.01176/0.01474, allocations: 3.065 MB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.01477, allocations: 59.39 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.01482, allocations: 106.7 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.01485, allocations: 25.7 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.01487, allocations: 84.12 kB / 291.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.01494, allocations: 67.42 kB / 291.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01504, allocations: 57.61 kB / 291.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.01511, allocations: 322.8 kB / 291.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.01525, allocations: 176 kB / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.0154, allocations: 179.9 kB / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.01571, allocations: 388.7 kB / 292.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.01571, allocations: 0 / 292.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003648/0.01607, allocations: 409.4 kB / 292.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01609, allocations: 7.938 kB / 292.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01609, allocations: 0 / 292.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.0161, allocations: 0 / 292.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.01642, allocations: 111.7 kB / 292.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01642, allocations: 0 / 292.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01653, allocations: 19.98 kB / 292.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.01656, allocations: 15.95 kB / 292.9 MB, free: 1.141 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 9.913e-05/0.01666, allocations: 117.8 kB / 293 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.01671, allocations: 11.98 kB / 293 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.01731, allocations: 0.568 MB / 293.6 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01731, allocations: 4 kB / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01731, allocations: 0 / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01731, allocations: 0 / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.01835, allocations: 0.6863 MB / 294.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01835, allocations: 4 kB / 294.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.01858, allocations: 91.78 kB / 294.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.01859, allocations: 7.953 kB / 294.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.0186, allocations: 192 / 294.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.01862, allocations: 20.22 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01862, allocations: 8 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01862, allocations: 0 / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01892, allocations: 380.3 kB / 294.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.01895, allocations: 8 kB / 294.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01906, allocations: 19.97 kB / 294.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.01908, allocations: 19.92 kB / 294.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.0191, allocations: 11.97 kB / 294.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.01911, allocations: 12.86 kB / 294.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01911, allocations: 0 / 294.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004584/0.01957, allocations: 271.7 kB / 295.1 MB, free: 14.82 MB / 298.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.0006141/0.02019, allocations: 251.8 kB / 295.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.02054, allocations: 343.5 kB / 295.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.02055, allocations: 4 kB / 295.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.0207, allocations: 157 kB / 295.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.02086, allocations: 40.12 kB / 295.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.02156, allocations: 413.5 kB / 296.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.0216, allocations: 63.58 kB / 296.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.02196, allocations: 193 kB / 296.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.02226, allocations: 91.28 kB / 296.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02226, allocations: 0 / 296.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of Templates: time 0.01915/0.04141, allocations: 17.57 MB / 314.2 MB, free: 11.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5677116252481937]