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.0008272/0.0008272, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007501/0.0007501, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.7584/0.7584, allocations: 158.6 MB / 185.7 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1172/0.1172, allocations: 32.38 MB / 270.4 MB, free: 14.97 MB / 266.7 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.342e-06/1.342e-06, allocations: 0 / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.524e-05, allocations: 6.078 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00112/0.001145, allocations: 0.5415 MB / 408.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.001909, allocations: 340.5 kB / 409 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.001935, allocations: 0 / 409 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.001952, allocations: 4 kB / 409 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.001987, allocations: 3.938 kB / 409 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.002342, allocations: 99.59 kB / 409.1 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.002395, allocations: 31.89 kB / 409.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.002436, allocations: 4 kB / 409.1 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.00247, allocations: 19.98 kB / 409.1 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.002517, allocations: 11.97 kB / 409.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.002531, allocations: 0 / 409.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.00269, allocations: 111.8 kB / 409.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.002709, allocations: 15.97 kB / 409.3 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.002725, allocations: 4 kB / 409.3 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.002872, allocations: 115.6 kB / 409.4 MB, free: 468 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002874, allocations: 0 / 409.4 MB, free: 468 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.002875, allocations: 0 / 409.4 MB, free: 468 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.002879, allocations: 4 kB / 409.4 MB, free: 464 kB / 378.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.000342/0.003221, allocations: 294 kB / 409.7 MB, free: 136 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.003258, allocations: 12.03 kB / 409.7 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.003292, allocations: 4.891 kB / 409.7 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.003387, allocations: 113.7 kB / 409.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003399, allocations: 8.312 kB / 409.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.003421, allocations: 8.359 kB / 409.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003524, allocations: 54.19 kB / 409.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003534, allocations: 4.188 kB / 409.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.003543, allocations: 384 / 409.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.003547, allocations: 384 / 409.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.003608, allocations: 31.91 kB / 409.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.003735, allocations: 117.3 kB / 410 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.003907, allocations: 62.56 kB / 410.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.003941, allocations: 20.86 kB / 410.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.004086, allocations: 27.95 kB / 410.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.004104, allocations: 38.56 kB / 410.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.004105, allocations: 3.938 kB / 410.2 MB, free: 15.55 MB / 394.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.01729/0.0214, allocations: 2.577 MB / 412.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.02143, allocations: 55.41 kB / 412.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.0215, allocations: 105.8 kB / 412.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.02154, allocations: 25.7 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.02158, allocations: 84.14 kB / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.02164, allocations: 67.42 kB / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.02171, allocations: 57.69 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.02178, allocations: 318.8 kB / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.02201, allocations: 175.9 kB / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.02222, allocations: 175.3 kB / 413.8 MB, free: 11.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.02278, allocations: 420.6 kB / 414.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02278, allocations: 0 / 414.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005693/0.02335, allocations: 469.3 kB / 414.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.02336, allocations: 4 kB / 414.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.02337, allocations: 0 / 414.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.02338, allocations: 4 kB / 414.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.02356, allocations: 71.81 kB / 414.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.02357, allocations: 11.98 kB / 414.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.02365, allocations: 19.97 kB / 414.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.02367, allocations: 12 kB / 414.8 MB, free: 10.85 MB / 394.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 8.683e-05/0.02376, allocations: 117.8 kB / 414.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.02378, allocations: 11.89 kB / 414.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.02449, allocations: 0.5523 MB / 415.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02449, allocations: 0 / 415.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.0245, allocations: 0 / 415.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0245, allocations: 7.984 kB / 415.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.02566, allocations: 0.7684 MB / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02566, allocations: 4 kB / 416.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.02579, allocations: 72.06 kB / 416.3 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02579, allocations: 4 kB / 416.3 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.02581, allocations: 19.98 kB / 416.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02581, allocations: 480 / 416.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.02582, allocations: 7.938 kB / 416.3 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.02632, allocations: 456.4 kB / 416.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.02633, allocations: 7.953 kB / 416.8 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.02635, allocations: 8 kB / 416.8 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.02645, allocations: 23.91 kB / 416.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.02647, allocations: 15.92 kB / 416.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.02649, allocations: 19.98 kB / 416.9 MB, free: 8.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.546e-05/0.02651, allocations: 83.28 kB / 416.9 MB, free: 8.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02651, allocations: 4 kB / 416.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.02707, allocations: 315.6 kB / 417.3 MB, free: 8.273 MB / 394.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.0009399/0.02801, allocations: 258.7 kB / 417.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.02852, allocations: 331.6 kB / 417.8 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02852, allocations: 8 kB / 417.8 MB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.0287, allocations: 135.9 kB / 418 MB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.02889, allocations: 12 kB / 418 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.02965, allocations: 452.4 kB / 418.4 MB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.02971, allocations: 79.33 kB / 418.5 MB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.02983, allocations: 52.45 kB / 418.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02983, allocations: 4 kB / 418.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of Templates: time 0.006202/0.03604, allocations: 6.58 MB / 425.1 MB, free: 288 kB / 394.7 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: 4.358658201061189]