Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001273/0.001273, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00145/0.00145, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9325/0.9325, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.245/0.245, allocations: 34.25 MB / 295.7 MB, free: 204 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.52e-05, allocations: 2.312 kB / 378 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001383/0.001398, allocations: 0.5594 MB / 378.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.002029, allocations: 342.7 kB / 378.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.002059, allocations: 0 / 378.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.00208, allocations: 3.938 kB / 378.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.501e-05/0.002115, allocations: 0 / 378.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.002532, allocations: 115.5 kB / 379 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.0026, allocations: 27.91 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.002636, allocations: 0 / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.002672, allocations: 15.98 kB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.002731, allocations: 19.92 kB / 379.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.002748, allocations: 0 / 379.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.00296, allocations: 111.9 kB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.002976, allocations: 3.984 kB / 379.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.003, allocations: 15.92 kB / 379.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.003192, allocations: 115.7 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003194, allocations: 4 kB / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003195, allocations: 0 / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003198, allocations: 0 / 379.3 MB, free: 1.219 MB / 346.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.0004003/0.003599, allocations: 392.3 kB / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.003636, allocations: 8.031 kB / 379.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.003688, allocations: 8.891 kB / 379.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.003783, allocations: 116.5 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.003797, allocations: 4.375 kB / 379.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.00382, allocations: 4.375 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.003923, allocations: 50.23 kB / 379.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.003938, allocations: 8.141 kB / 379.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.003949, allocations: 8.312 kB / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.003956, allocations: 384 / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.004011, allocations: 27.86 kB / 380 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.004163, allocations: 124.6 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.004358, allocations: 55.05 kB / 380.1 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.004403, allocations: 23.95 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.004595, allocations: 35.91 kB / 380.2 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.004621, allocations: 41.38 kB / 380.2 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.004622, allocations: 0 / 380.2 MB, free: 204 kB / 346.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.02395/0.02857, allocations: 2.407 MB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.0286, allocations: 59.34 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.02867, allocations: 165.9 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.02869, allocations: 33.7 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.02872, allocations: 130.9 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.02878, allocations: 67.42 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.02886, allocations: 59.34 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02896, allocations: 0.4923 MB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.02912, allocations: 151.9 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.02927, allocations: 150.5 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.02971, allocations: 351.6 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.02971, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004793/0.03019, allocations: 420.3 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.03021, allocations: 11.98 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.03021, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.03022, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.03041, allocations: 71.94 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.03042, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.03051, allocations: 19.98 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.03054, allocations: 15.98 kB / 384.8 MB, free: 11.52 MB / 362.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.823e-05/0.03063, allocations: 160.5 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.03066, allocations: 23.89 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.03126, allocations: 493.9 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.03126, allocations: 0 / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03127, allocations: 0 / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.03127, allocations: 0 / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.03228, allocations: 0.7883 MB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03228, allocations: 0 / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.03242, allocations: 75.88 kB / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.03242, allocations: 4 kB / 386.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.03244, allocations: 12 kB / 386.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.03244, allocations: 3.984 kB / 386.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.03245, allocations: 11.88 kB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.03286, allocations: 466.3 kB / 386.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.03287, allocations: 7.953 kB / 386.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.03289, allocations: 8 kB / 386.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.03299, allocations: 23.97 kB / 386.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.03301, allocations: 23.86 kB / 386.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.03303, allocations: 15.98 kB / 386.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.178e-05/0.03306, allocations: 123.2 kB / 387 MB, free: 9.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03306, allocations: 3.938 kB / 387 MB, free: 9.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000519/0.03358, allocations: 327.6 kB / 387.3 MB, free: 8.859 MB / 362.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.0009248/0.03451, allocations: 254.7 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.03486, allocations: 298.7 kB / 387.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.03486, allocations: 0 / 387.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.035, allocations: 127.5 kB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.03519, allocations: 27.98 kB / 388 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.03582, allocations: 416.8 kB / 388.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.03586, allocations: 71.52 kB / 388.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.03604, allocations: 88.98 kB / 388.6 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.03617, allocations: 52.45 kB / 388.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.03617, allocations: 0 / 388.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of Templates: time 0.01665/0.05282, allocations: 19.59 MB / 408.2 MB, free: 3.875 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.011636845767498]