Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00127/0.00127, allocations: 116.7 kB / 19.17 MB, free: 3.871 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.001414/0.001414, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.497/1.497, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2529/0.2529, allocations: 46.91 MB / 358.2 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.86 kB / 0.4925 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1587, allocations: 66 MB / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002175/0.1609, allocations: 0.4901 MB / 0.5574 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1633, allocations: 1.27 MB / 0.5587 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1633, allocations: 0 / 0.5587 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.1633, allocations: 3.938 kB / 0.5587 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1635, allocations: 12 kB / 0.5587 GB, free: 3.77 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:455:3-487: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.001196/0.1647, allocations: 244.7 kB / 0.5589 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.1648, allocations: 8 kB / 0.5589 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.1648, allocations: 4 kB / 0.5589 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.1648, allocations: 3.938 kB / 0.5589 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.1649, allocations: 11.92 kB / 0.5589 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.1649, allocations: 0 / 0.5589 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.1689, allocations: 0.6963 MB / 0.5596 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.1689, allocations: 3.984 kB / 0.5596 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1689, allocations: 0 / 0.5596 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1692, allocations: 183.5 kB / 0.5598 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1692, allocations: 0 / 0.5598 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1692, allocations: 0 / 0.5598 GB, free: 2.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1692, allocations: 4 kB / 0.5598 GB, free: 2.742 MB / 414.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.0004845/0.1697, allocations: 384.8 kB / 0.5602 GB, free: 2.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1697, allocations: 19.91 kB / 0.5602 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1698, allocations: 0.9375 kB / 0.5602 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1699, allocations: 168.4 kB / 0.5603 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1699, allocations: 4.359 kB / 0.5603 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.17, allocations: 4.375 kB / 0.5604 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.17, allocations: 26.27 kB / 0.5604 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1701, allocations: 4.188 kB / 0.5604 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1701, allocations: 3.938 kB / 0.5604 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1701, allocations: 0 / 0.5604 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.1701, allocations: 4 kB / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1703, allocations: 149.6 kB / 0.5605 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.1703, allocations: 22.61 kB / 0.5606 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.1703, allocations: 4.859 kB / 0.5606 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.1703, allocations: 4 kB / 0.5606 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.1704, allocations: 60.33 kB / 0.5606 GB, free: 1.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1704, allocations: 0 / 0.5606 GB, free: 1.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001967/0.1706, allocations: 75.25 kB / 0.5607 GB, free: 1.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1706, allocations: 81.11 kB / 0.5608 GB, free: 1.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.1707, allocations: 93.86 kB / 0.5609 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1708, allocations: 25.7 kB / 0.5609 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.1708, allocations: 84.39 kB / 0.561 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1708, allocations: 0 / 0.561 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1708, allocations: 17.7 kB / 0.561 GB, free: 1.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.171, allocations: 314.8 kB / 0.5613 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.171, allocations: 0 / 0.5613 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.171, allocations: 8 kB / 0.5613 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.1711, allocations: 60.27 kB / 0.5613 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1711, allocations: 0 / 0.5613 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.98e-05/0.1712, allocations: 75.34 kB / 0.5614 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.1712, allocations: 33.7 kB / 0.5614 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1712, allocations: 3.938 kB / 0.5615 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1712, allocations: 0 / 0.5615 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.1712, allocations: 0 / 0.5615 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1712, allocations: 4 kB / 0.5615 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.1712, allocations: 0 / 0.5615 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1712, allocations: 0 / 0.5615 GB, free: 0.7656 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 0.0001007/0.1713, allocations: 139.5 kB / 0.5616 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.1714, allocations: 4.031 kB / 0.5616 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.1714, allocations: 11.05 kB / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1714, allocations: 0 / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1714, allocations: 0 / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1714, allocations: 0 / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.1715, allocations: 149.6 kB / 0.5617 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1715, allocations: 3.984 kB / 0.5617 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1715, allocations: 0 / 0.5617 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1715, allocations: 0 / 0.5617 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1715, allocations: 3.938 kB / 0.5618 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1715, allocations: 4 kB / 0.5618 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1715, allocations: 4 kB / 0.5618 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1716, allocations: 98.77 kB / 0.5619 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1717, allocations: 77.11 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1717, allocations: 3.938 kB / 0.5619 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1717, allocations: 0 / 0.5619 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1717, allocations: 4 kB / 0.5619 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1717, allocations: 0 / 0.5619 GB, free: 172 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.1718, allocations: 79.31 kB / 0.562 GB, free: 92 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1718, allocations: 0 / 0.562 GB, free: 92 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1721, allocations: 63.8 kB / 0.5621 GB, free: 28 kB / 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.0008723/0.1729, allocations: 325.3 kB / 0.5624 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1731, allocations: 63.39 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1731, allocations: 0 / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.1731, allocations: 63.34 kB / 0.5625 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1733, allocations: 4.125 kB / 0.5625 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.1735, allocations: 98.77 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1738, allocations: 0.6768 MB / 0.5633 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.1738, allocations: 7.438 kB / 0.5633 GB, free: 14.76 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1738, allocations: 0 / 0.5633 GB, free: 14.76 MB / 430.1 MB Notification: Performance of Templates: time 0.003893/0.1777, allocations: 1.672 MB / 0.5649 GB, free: 13.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.042662558989832]