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.001928/0.001928, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.002522/0.002522, allocations: 169.3 kB / 23.76 MB, free: 4.195 MB / 14.72 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 1.333/1.333, allocations: 158.6 MB / 185.5 MB, free: 6.156 MB / 174.1 MB " [Timeout remaining time 178] 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.213/0.213, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 71.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1208, allocations: 61.05 MB / 468.8 MB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001767/0.1225, allocations: 0.5339 MB / 469.3 MB, free: 7.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.1233, allocations: 340.6 kB / 469.7 MB, free: 7.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1233, allocations: 0 / 469.7 MB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1233, allocations: 0 / 469.7 MB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.1233, allocations: 3.938 kB / 469.7 MB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1237, allocations: 115.6 kB / 469.8 MB, free: 7.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.1238, allocations: 23.92 kB / 469.8 MB, free: 7.312 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.1239, allocations: 4 kB / 469.8 MB, free: 7.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.1239, allocations: 15.92 kB / 469.8 MB, free: 7.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.1239, allocations: 15.91 kB / 469.8 MB, free: 7.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1239, allocations: 4 kB / 469.8 MB, free: 7.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1242, allocations: 107.9 kB / 469.9 MB, free: 7.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1242, allocations: 11.92 kB / 470 MB, free: 7.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.1242, allocations: 19.92 kB / 470 MB, free: 7.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1244, allocations: 95.69 kB / 470.1 MB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1244, allocations: 0 / 470.1 MB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1244, allocations: 0 / 470.1 MB, free: 7.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.1244, allocations: 0 / 470.1 MB, free: 7.043 MB / 446.1 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.0004032/0.1248, allocations: 286 kB / 470.4 MB, free: 6.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1248, allocations: 8.031 kB / 470.4 MB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1249, allocations: 4.938 kB / 470.4 MB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.125, allocations: 118.5 kB / 470.5 MB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.125, allocations: 384 / 470.5 MB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.125, allocations: 8.375 kB / 470.5 MB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1251, allocations: 66.11 kB / 470.6 MB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1252, allocations: 192 / 470.6 MB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1252, allocations: 7.938 kB / 470.6 MB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1252, allocations: 4 kB / 470.6 MB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.1252, allocations: 27.92 kB / 470.6 MB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1254, allocations: 125.2 kB / 470.7 MB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1256, allocations: 50.59 kB / 470.8 MB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1257, allocations: 28.84 kB / 470.8 MB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.1259, allocations: 31.95 kB / 470.8 MB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1259, allocations: 30.56 kB / 470.9 MB, free: 6.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.061e-06/0.1259, allocations: 0 / 470.9 MB, free: 6.148 MB / 446.1 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.04448/0.1704, allocations: 2.561 MB / 473.4 MB, free: 3.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1704, allocations: 55.88 kB / 473.5 MB, free: 3.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.1705, allocations: 101.9 kB / 473.6 MB, free: 3.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1706, allocations: 29.7 kB / 473.6 MB, free: 3.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1706, allocations: 84.12 kB / 473.7 MB, free: 3.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.1707, allocations: 71.36 kB / 473.7 MB, free: 3.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1708, allocations: 65.58 kB / 473.8 MB, free: 3.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.171, allocations: 322.8 kB / 474.1 MB, free: 2.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.1714, allocations: 175.9 kB / 474.3 MB, free: 2.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.1718, allocations: 175.8 kB / 474.5 MB, free: 2.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.1729, allocations: 420.6 kB / 474.9 MB, free: 2.031 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1729, allocations: 0 / 474.9 MB, free: 2.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00112/0.174, allocations: 453.9 kB / 475.3 MB, free: 1.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1741, allocations: 15.44 kB / 475.3 MB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1741, allocations: 0 / 475.3 MB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1741, allocations: 0 / 475.3 MB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.1745, allocations: 71.88 kB / 475.4 MB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1745, allocations: 0 / 475.4 MB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.1747, allocations: 20.23 kB / 475.4 MB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.1748, allocations: 15.98 kB / 475.4 MB, free: 1.465 MB / 446.1 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 0.0001425/0.1749, allocations: 129.8 kB / 475.6 MB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.1749, allocations: 7.953 kB / 475.6 MB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1763, allocations: 0.5409 MB / 476.1 MB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1763, allocations: 4 kB / 476.1 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1763, allocations: 0 / 476.1 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1763, allocations: 0 / 476.1 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2317/0.408, allocations: 0.7891 MB / 476.9 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.408, allocations: 0 / 476.9 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.4083, allocations: 71.75 kB / 477 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4083, allocations: 6.812 kB / 477 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.4084, allocations: 13.44 kB / 477 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4084, allocations: 6.875 kB / 477 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4084, allocations: 2.094 kB / 477 MB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.4093, allocations: 463.3 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.4093, allocations: 10.44 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.4093, allocations: 5.625 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4095, allocations: 23.64 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4096, allocations: 16.52 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4096, allocations: 20.91 kB / 477.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.4096, allocations: 85.33 kB / 477.6 MB, free: 49.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4096, allocations: 0 / 477.6 MB, free: 49.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.4104, allocations: 321.6 kB / 477.9 MB, free: 49.24 MB / 446.1 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.001171/0.4116, allocations: 230.5 kB / 478.2 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.4123, allocations: 324.4 kB / 478.5 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4123, allocations: 1.75 kB / 478.5 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.4126, allocations: 146.4 kB / 478.6 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4129, allocations: 10.09 kB / 478.6 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.4141, allocations: 423.8 kB / 479 MB, free: 48.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.4141, allocations: 77.53 kB / 479.1 MB, free: 48.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.4144, allocations: 95.88 kB / 479.2 MB, free: 48.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.4146, allocations: 50.03 kB / 479.3 MB, free: 48.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4146, allocations: 0 / 479.3 MB, free: 48.88 MB / 446.1 MB Notification: Performance of Templates: time 0.0229/0.4375, allocations: 18.02 MB / 497.3 MB, free: 47.57 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/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: 5.091527555021457]