Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.001635/0.001635, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001741/0.001741, allocations: 205 kB / 21.4 MB, free: 1.645 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.446/1.446, allocations: 227.4 MB / 251.6 MB, free: 52 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.2325/0.2325, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 80.62 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1577, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001749/0.1594, allocations: 485 kB / 0.5401 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1618, allocations: 1.265 MB / 0.5414 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1619, allocations: 0 / 0.5414 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1619, allocations: 4 kB / 0.5414 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1621, allocations: 19.92 kB / 0.5414 GB, free: 2.465 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1634, allocations: 243.2 kB / 0.5416 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.1634, allocations: 4 kB / 0.5416 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1635, allocations: 4 kB / 0.5416 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.1635, allocations: 0 / 0.5416 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.1636, allocations: 7.984 kB / 0.5416 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1636, allocations: 7.984 kB / 0.5416 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.1676, allocations: 0.6844 MB / 0.5423 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1677, allocations: 0 / 0.5423 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1677, allocations: 4 kB / 0.5423 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.168, allocations: 183.5 kB / 0.5425 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1681, allocations: 0 / 0.5425 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1681, allocations: 4 kB / 0.5425 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1681, allocations: 0 / 0.5425 GB, free: 1.457 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005071/0.1686, allocations: 387.8 kB / 0.5429 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1686, allocations: 8.031 kB / 0.5429 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1687, allocations: 8.875 kB / 0.5429 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1688, allocations: 160.4 kB / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1688, allocations: 384 / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1689, allocations: 4.312 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.169, allocations: 34.27 kB / 0.5431 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.169, allocations: 11.86 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.169, allocations: 0 / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.169, allocations: 0 / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.169, allocations: 0 / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1692, allocations: 149.7 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.1693, allocations: 18.52 kB / 0.5432 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1693, allocations: 12.94 kB / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1693, allocations: 4 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.1694, allocations: 60.25 kB / 0.5433 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1694, allocations: 0 / 0.5433 GB, free: 456 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.1696, allocations: 71.34 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1697, allocations: 81.05 kB / 0.5435 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.1697, allocations: 97.84 kB / 0.5435 GB, free: 164 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1698, allocations: 25.7 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.1698, allocations: 88.39 kB / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1698, allocations: 0 / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1699, allocations: 13.72 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.17, allocations: 310.8 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.17, allocations: 0 / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.1701, allocations: 0 / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.1701, allocations: 64.25 kB / 0.544 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1701, allocations: 4 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.574e-05/0.1702, allocations: 71.42 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.1703, allocations: 37.64 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1703, allocations: 3.938 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.1703, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.1703, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1703, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1703, allocations: 7.922 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1704, allocations: 4 kB / 0.5441 GB, free: 15.48 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.498e-05/0.1705, allocations: 131.5 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.1705, allocations: 7.969 kB / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-06/0.1705, allocations: 7.125 kB / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1705, allocations: 0 / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1705, allocations: 0 / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1705, allocations: 0 / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1706, allocations: 153.6 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1706, allocations: 4 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1706, allocations: 0 / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1707, allocations: 3.938 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1707, allocations: 3.938 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1707, allocations: 4 kB / 0.5444 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1707, allocations: 0 / 0.5444 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1708, allocations: 94.77 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1709, allocations: 81.11 kB / 0.5446 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1709, allocations: 3.938 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.1709, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.1709, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1709, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.171, allocations: 87.3 kB / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1713, allocations: 63.86 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008917/0.1722, allocations: 338.2 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1723, allocations: 59.41 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1723, allocations: 8 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.1724, allocations: 55.41 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1725, allocations: 7.938 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.1728, allocations: 88.97 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1731, allocations: 0.669 MB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.861e-06/0.1731, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.1731, allocations: 11.44 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1731, allocations: 0 / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Templates: time 0.00526/0.1784, allocations: 1.588 MB / 0.5475 GB, free: 11.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.02305705845356]