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.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.001215/0.001215, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002907, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001099/0.001099, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002496, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9211/0.9211, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09421/1.015, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2647/0.2647, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02403/0.2887, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.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.272e-06/1.272e-06, allocations: 3.938 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.686e-06/9.958e-06, allocations: 4.422 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008926/0.0009025, allocations: 0.5862 MB / 291.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.001305, allocations: 349.9 kB / 291.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.001324, allocations: 0 / 291.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.117e-06/0.001328, allocations: 4 kB / 291.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.095e-05/0.001339, allocations: 3.938 kB / 291.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.00155, allocations: 90.72 kB / 291.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.001612, allocations: 27.41 kB / 291.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.001652, allocations: 5.734 kB / 291.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.001706, allocations: 21.67 kB / 291.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.001762, allocations: 17.62 kB / 291.7 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.001778, allocations: 1.375 kB / 291.7 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.001986, allocations: 131 kB / 291.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.001997, allocations: 7.25 kB / 291.8 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.002014, allocations: 9.344 kB / 291.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.002175, allocations: 91.97 kB / 291.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.00219, allocations: 3.938 kB / 291.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00219, allocations: 0 / 291.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.002205, allocations: 0 / 291.9 MB, free: 6.723 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.000381/0.002586, allocations: 276.6 kB / 292.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.002615, allocations: 10.31 kB / 292.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.00264, allocations: 4.469 kB / 292.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.002718, allocations: 113.1 kB / 292.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.002732, allocations: 2.219 kB / 292.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.002762, allocations: 19.88 kB / 292.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.002847, allocations: 43.16 kB / 292.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.002858, allocations: 1.5 kB / 292.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.002864, allocations: 384 / 292.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.002871, allocations: 1.375 kB / 292.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.002909, allocations: 18.55 kB / 292.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.909e-05/0.003008, allocations: 67.33 kB / 292.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.003155, allocations: 47.92 kB / 292.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.003178, allocations: 17.8 kB / 292.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.003323, allocations: 34.98 kB / 292.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.003346, allocations: 33.69 kB / 292.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.003347, allocations: 0 / 292.6 MB, free: 6.09 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.01157/0.01491, allocations: 2.988 MB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.01495, allocations: 59.34 kB / 295.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.015, allocations: 102.7 kB / 295.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.01503, allocations: 29.7 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.01506, allocations: 84.12 kB / 295.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.01513, allocations: 67.42 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.01522, allocations: 53.61 kB / 296 MB, free: 2.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.0153, allocations: 322.8 kB / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.01546, allocations: 172 kB / 296.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01562, allocations: 183.5 kB / 296.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.01596, allocations: 388.7 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01596, allocations: 0 / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003829/0.01634, allocations: 413.8 kB / 297.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01635, allocations: 7.938 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01636, allocations: 0 / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.01637, allocations: 4 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.01669, allocations: 107.7 kB / 297.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.0167, allocations: 0 / 297.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01681, allocations: 19.98 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.01684, allocations: 15.95 kB / 297.6 MB, free: 1.16 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.459e-05/0.01693, allocations: 117.8 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.01698, allocations: 15.97 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.01758, allocations: 0.5707 MB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01759, allocations: 4 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01759, allocations: 0 / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.01759, allocations: 0 / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.01867, allocations: 0.693 MB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01867, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.0189, allocations: 91.78 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.01891, allocations: 7.953 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01892, allocations: 4 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.01894, allocations: 15.97 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01894, allocations: 0 / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.01894, allocations: 4.188 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.01926, allocations: 384.5 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.01929, allocations: 4 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01941, allocations: 19.97 kB / 299.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.01943, allocations: 23.86 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.01945, allocations: 11.97 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.171e-05/0.01946, allocations: 12.86 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01946, allocations: 3.938 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004581/0.01992, allocations: 275.7 kB / 299.8 MB, free: 14.83 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.0005894/0.02051, allocations: 243.9 kB / 300.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.02091, allocations: 344.2 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.02092, allocations: 7.938 kB / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.02107, allocations: 140.7 kB / 300.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.02125, allocations: 39.94 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.02198, allocations: 415.2 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.02202, allocations: 59.59 kB / 301 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.02239, allocations: 189 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.02267, allocations: 87.28 kB / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02267, allocations: 4 kB / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01506/0.03773, allocations: 17.52 MB / 318.8 MB, free: 11.74 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.807338424026966]