Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001881/0.001881, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002486/0.002486, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 252.3 MB, free: 92 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 76.53 kB / 490.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1136, allocations: 62.47 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001711/0.1154, allocations: 0.532 MB / 0.5409 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.1161, allocations: 363.1 kB / 0.5412 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1162, allocations: 0 / 0.5412 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1162, allocations: 3.938 kB / 0.5412 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.1163, allocations: 3.938 kB / 0.5412 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1167, allocations: 103.7 kB / 0.5413 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1168, allocations: 27.91 kB / 0.5413 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.1168, allocations: 15.92 kB / 0.5414 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.1168, allocations: 8 kB / 0.5414 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.1169, allocations: 19.86 kB / 0.5414 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1169, allocations: 4 kB / 0.5414 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1172, allocations: 119.9 kB / 0.5415 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1172, allocations: 0 / 0.5415 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1172, allocations: 15.88 kB / 0.5415 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1174, allocations: 103.7 kB / 0.5416 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1174, allocations: 0 / 0.5416 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1174, allocations: 0 / 0.5416 GB, free: 2.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1174, allocations: 0 / 0.5416 GB, free: 2.938 MB / 398.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.0004608/0.1179, allocations: 370 kB / 0.542 GB, free: 2.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1179, allocations: 11.97 kB / 0.542 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.118, allocations: 8.922 kB / 0.542 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1181, allocations: 172.3 kB / 0.5422 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1181, allocations: 4.375 kB / 0.5422 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1182, allocations: 4.375 kB / 0.5422 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1183, allocations: 58.23 kB / 0.5422 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1183, allocations: 192 / 0.5422 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1183, allocations: 7.875 kB / 0.5422 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1183, allocations: 0 / 0.5422 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.1184, allocations: 27.98 kB / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.1186, allocations: 165.7 kB / 0.5424 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1188, allocations: 54.83 kB / 0.5425 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.1189, allocations: 32.78 kB / 0.5425 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.1192, allocations: 105.1 kB / 0.5426 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1192, allocations: 38.5 kB / 0.5426 GB, free: 1.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1192, allocations: 0 / 0.5426 GB, free: 1.719 MB / 398.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.0433/0.1625, allocations: 2.588 MB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1626, allocations: 51.41 kB / 0.5452 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.1627, allocations: 105.9 kB / 0.5453 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1628, allocations: 25.7 kB / 0.5453 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1628, allocations: 87.89 kB / 0.5454 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.1629, allocations: 67.42 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.163, allocations: 53.69 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1632, allocations: 326.8 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.1636, allocations: 171.9 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.164, allocations: 179.9 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.1651, allocations: 415.6 kB / 0.5466 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1651, allocations: 3.938 kB / 0.5466 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001086/0.1662, allocations: 465.4 kB / 0.547 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1662, allocations: 8 kB / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1662, allocations: 0 / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1663, allocations: 7.938 kB / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.1666, allocations: 67.94 kB / 0.5471 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1667, allocations: 0 / 0.5471 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1669, allocations: 19.92 kB / 0.5471 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1669, allocations: 19.98 kB / 0.5471 GB, free: 13.01 MB / 414.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.0001332/0.1671, allocations: 121.8 kB / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1671, allocations: 11.95 kB / 0.5473 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.1684, allocations: 0.5368 MB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1685, allocations: 4.25 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1685, allocations: 0 / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1685, allocations: 4 kB / 0.5478 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.1707, allocations: 0.8777 MB / 0.5487 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.1707, allocations: 4 kB / 0.5487 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.171, allocations: 68.34 kB / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.171, allocations: 8.188 kB / 0.5487 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.171, allocations: 19.98 kB / 0.5488 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.171, allocations: 0 / 0.5488 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.171, allocations: 4 kB / 0.5488 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009679/0.172, allocations: 475.4 kB / 0.5492 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1721, allocations: 85.06 kB / 0.5493 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.1721, allocations: 4 kB / 0.5493 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.1724, allocations: 27.97 kB / 0.5493 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1724, allocations: 7.984 kB / 0.5493 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1725, allocations: 23.98 kB / 0.5494 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.1725, allocations: 79.28 kB / 0.5494 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1725, allocations: 0 / 0.5494 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000855/0.1734, allocations: 319.6 kB / 0.5497 GB, free: 10.21 MB / 414.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.001298/0.1747, allocations: 246.5 kB / 0.55 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.1756, allocations: 335.7 kB / 0.5503 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1756, allocations: 0 / 0.5503 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.176, allocations: 151.8 kB / 0.5504 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1762, allocations: 8 kB / 0.5504 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1775, allocations: 446.9 kB / 0.5509 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1779, allocations: 0.7004 MB / 0.5516 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.1781, allocations: 51.39 kB / 0.5516 GB, free: 8.207 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1781, allocations: 0 / 0.5516 GB, free: 8.207 MB / 414.1 MB Notification: Performance of Templates: time 0.01053/0.1886, allocations: 6.555 MB / 0.558 GB, free: 1.703 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.671025826013647]