Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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.001803/0.001803, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.002244/0.002244, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.538/1.538, allocations: 230.2 MB / 255.2 MB, free: 15.41 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.232/0.232, allocations: 46.88 MB / 358.1 MB, free: 10.53 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.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") [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.003079/0.003079, allocations: 80.17 kB / 0.4924 GB, free: 26.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1494, allocations: 65.98 MB / 0.5568 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001683/0.151, allocations: 0.4971 MB / 0.5573 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1542, allocations: 2.045 MB / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.1542, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1542, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1542, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1557, allocations: 0.4947 MB / 0.5598 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.1557, allocations: 0 / 0.5598 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1558, allocations: 7.984 kB / 0.5598 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.1558, allocations: 0 / 0.5598 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.696e-05/0.1558, allocations: 0 / 0.5598 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1558, allocations: 0 / 0.5598 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1569, allocations: 0.6746 MB / 0.5604 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.1569, allocations: 3.938 kB / 0.5604 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.157, allocations: 4 kB / 0.5604 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1575, allocations: 387.1 kB / 0.5608 GB, free: 4.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1575, allocations: 4 kB / 0.5608 GB, free: 4.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1575, allocations: 0 / 0.5608 GB, free: 4.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1575, allocations: 0 / 0.5608 GB, free: 4.496 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.0005126/0.1581, allocations: 420.5 kB / 0.5612 GB, free: 4.031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1581, allocations: 11.97 kB / 0.5612 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1581, allocations: 0.9375 kB / 0.5612 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1583, allocations: 168.3 kB / 0.5614 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1583, allocations: 384 / 0.5614 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1583, allocations: 4.375 kB / 0.5614 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1584, allocations: 34.02 kB / 0.5614 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1584, allocations: 0 / 0.5614 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1584, allocations: 0 / 0.5614 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1584, allocations: 0 / 0.5614 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.1584, allocations: 4 kB / 0.5614 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1586, allocations: 149.7 kB / 0.5616 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.1586, allocations: 22.55 kB / 0.5616 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.1586, allocations: 4.859 kB / 0.5616 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.1586, allocations: 4 kB / 0.5616 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.1587, allocations: 60.2 kB / 0.5617 GB, free: 3.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1587, allocations: 0 / 0.5617 GB, free: 3.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001825/0.1589, allocations: 67.45 kB / 0.5617 GB, free: 3.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1589, allocations: 81.11 kB / 0.5618 GB, free: 3.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.159, allocations: 97.75 kB / 0.5619 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.159, allocations: 25.7 kB / 0.5619 GB, free: 3.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.159, allocations: 84.27 kB / 0.562 GB, free: 3.059 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1591, allocations: 0 / 0.562 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1591, allocations: 17.72 kB / 0.562 GB, free: 3.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1592, allocations: 310.8 kB / 0.5623 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.1592, allocations: 0 / 0.5623 GB, free: 2.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.1592, allocations: 3.938 kB / 0.5623 GB, free: 2.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/0.1593, allocations: 64.25 kB / 0.5624 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1593, allocations: 0 / 0.5624 GB, free: 2.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.148e-05/0.1594, allocations: 63.47 kB / 0.5624 GB, free: 2.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.1594, allocations: 39.52 kB / 0.5625 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1594, allocations: 0 / 0.5625 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1594, allocations: 4 kB / 0.5625 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1594, allocations: 3.938 kB / 0.5625 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.1594, allocations: 0 / 0.5625 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.1595, allocations: 3.984 kB / 0.5625 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1595, allocations: 0 / 0.5625 GB, free: 2.512 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.0001038/0.1596, allocations: 135.6 kB / 0.5626 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.1596, allocations: 7.938 kB / 0.5626 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-06/0.1596, allocations: 3.125 kB / 0.5626 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1596, allocations: 0 / 0.5626 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1596, allocations: 0 / 0.5626 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1596, allocations: 0 / 0.5626 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1597, allocations: 153.6 kB / 0.5628 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1597, allocations: 0 / 0.5628 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1597, allocations: 0 / 0.5628 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1597, allocations: 7.922 kB / 0.5628 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.1597, allocations: 4 kB / 0.5628 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1597, allocations: 4 kB / 0.5628 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1597, allocations: 4 kB / 0.5628 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1598, allocations: 86.83 kB / 0.5629 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1599, allocations: 81.05 kB / 0.5629 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1599, allocations: 7.938 kB / 0.563 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.1599, allocations: 4 kB / 0.563 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.1599, allocations: 0 / 0.563 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1599, allocations: 4.031 kB / 0.563 GB, free: 1.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.16, allocations: 75.28 kB / 0.563 GB, free: 1.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.16, allocations: 0 / 0.563 GB, free: 1.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1603, allocations: 131.6 kB / 0.5632 GB, free: 1.711 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.0007884/0.1611, allocations: 321.5 kB / 0.5635 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1612, allocations: 59.41 kB / 0.5635 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1612, allocations: 0 / 0.5635 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.1613, allocations: 55.41 kB / 0.5636 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.1614, allocations: 0 / 0.5636 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.1616, allocations: 114.7 kB / 0.5637 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1619, allocations: 0.6769 MB / 0.5643 GB, free: 416 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.1619, allocations: 7.438 kB / 0.5644 GB, free: 408 kB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1619, allocations: 0 / 0.5644 GB, free: 408 kB / 414.1 MB Notification: Performance of Templates: time 0.00653/0.1685, allocations: 3.409 MB / 0.5677 GB, free: 12.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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: 9.160736836027354]