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.001561/0.001561, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001259/0.001259, allocations: 171.7 kB / 24.84 MB, free: 8.906 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.9428/0.9428, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1408/0.1408, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.934e-06/1.934e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.834e-05, allocations: 8.219 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001761/0.001789, allocations: 0.5432 MB / 349.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.002397, allocations: 346.7 kB / 349.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.002453, allocations: 0 / 349.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.00248, allocations: 3.938 kB / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.002528, allocations: 0 / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.00293, allocations: 111.5 kB / 349.9 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.002979, allocations: 23.92 kB / 349.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.003023, allocations: 3.984 kB / 349.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.003058, allocations: 19.97 kB / 349.9 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.003117, allocations: 11.92 kB / 350 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003135, allocations: 8 kB / 350 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.003306, allocations: 111.9 kB / 350.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.00332, allocations: 0 / 350.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.003337, allocations: 19.91 kB / 350.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.003475, allocations: 111.7 kB / 350.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.003479, allocations: 0 / 350.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00348, allocations: 0 / 350.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003484, allocations: 0 / 350.2 MB, free: 7.891 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.00028/0.003764, allocations: 392.3 kB / 350.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.003796, allocations: 8.031 kB / 350.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.003825, allocations: 16.83 kB / 350.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.888e-05/0.003884, allocations: 112.6 kB / 350.7 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003895, allocations: 4.375 kB / 350.7 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.003912, allocations: 4.375 kB / 350.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.607e-05/0.003978, allocations: 50.23 kB / 350.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.003987, allocations: 192 / 350.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003994, allocations: 384 / 350.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004, allocations: 4.312 kB / 350.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.004029, allocations: 23.86 kB / 350.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.665e-05/0.004126, allocations: 117.2 kB / 350.9 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.004257, allocations: 59.05 kB / 351 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.004278, allocations: 19.95 kB / 351 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.004421, allocations: 35.91 kB / 351 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004442, allocations: 41.38 kB / 351.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.004444, allocations: 0 / 351.1 MB, free: 6.898 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.0176/0.02204, allocations: 2.316 MB / 353.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.02207, allocations: 59.34 kB / 353.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.02212, allocations: 161.9 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.02214, allocations: 29.7 kB / 353.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.02216, allocations: 130.9 kB / 353.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.0222, allocations: 63.41 kB / 353.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.02228, allocations: 63.34 kB / 353.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.02232, allocations: 0.4884 MB / 354.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.02241, allocations: 123.9 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.02251, allocations: 134.9 kB / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.02283, allocations: 299.6 kB / 354.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.02283, allocations: 0 / 354.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003617/0.0232, allocations: 369 kB / 355.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.02321, allocations: 7.938 kB / 355.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.02322, allocations: 3.984 kB / 355.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.02323, allocations: 0 / 355.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.02343, allocations: 75.92 kB / 355.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.02343, allocations: 4 kB / 355.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.02352, allocations: 15.98 kB / 355.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.02354, allocations: 19.98 kB / 355.4 MB, free: 2.457 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 7.436e-05/0.02362, allocations: 160.5 kB / 355.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.02365, allocations: 19.89 kB / 355.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.02412, allocations: 438.1 kB / 356 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02412, allocations: 0 / 356 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02413, allocations: 4 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.02413, allocations: 4 kB / 356 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008907/0.02502, allocations: 0.752 MB / 356.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.02502, allocations: 7.984 kB / 356.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.02516, allocations: 76.08 kB / 356.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02517, allocations: 0 / 356.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.02518, allocations: 15.98 kB / 356.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.02519, allocations: 4 kB / 356.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.02519, allocations: 3.938 kB / 356.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.02552, allocations: 441.8 kB / 357.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.02553, allocations: 11.94 kB / 357.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.02556, allocations: 3.984 kB / 357.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.02565, allocations: 23.98 kB / 357.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.02567, allocations: 23.84 kB / 357.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.02569, allocations: 16 kB / 357.4 MB, free: 368 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.02571, allocations: 127.2 kB / 357.5 MB, free: 240 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02571, allocations: 0 / 357.5 MB, free: 240 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007459/0.02645, allocations: 319.6 kB / 357.8 MB, free: 15.92 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.00107/0.02752, allocations: 262.7 kB / 358.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.02783, allocations: 254.7 kB / 358.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02783, allocations: 0 / 358.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.02798, allocations: 119.5 kB / 358.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.02824, allocations: 30.48 kB / 358.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.02889, allocations: 400.7 kB / 358.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.02893, allocations: 67.52 kB / 358.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.02912, allocations: 92.97 kB / 359 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.0293, allocations: 118.2 kB / 359.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0293, allocations: 0 / 359.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Templates: time 0.0193/0.04861, allocations: 19.71 MB / 378.8 MB, free: 10.76 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1538754529319704]