Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.00188/0.00188, allocations: 79.75 kB / 20.52 MB, free: 1.117 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.002605/0.002605, allocations: 163.8 kB / 23.76 MB, free: 4.203 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.488/1.488, allocations: 158.6 MB / 185.5 MB, free: 6.234 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.2158/0.2158, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] 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.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") [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.002334/0.002334, allocations: 71.89 kB / 407.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1311, allocations: 61.03 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001638/0.1328, allocations: 0.5145 MB / 469.3 MB, free: 7.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.1357, allocations: 1.925 MB / 471.2 MB, free: 5.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.1357, allocations: 4 kB / 471.2 MB, free: 5.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1357, allocations: 3.938 kB / 471.2 MB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1357, allocations: 0 / 471.2 MB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1371, allocations: 0.5026 MB / 471.7 MB, free: 5.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.786e-05/0.1372, allocations: 0 / 471.7 MB, free: 5.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.1372, allocations: 0 / 471.7 MB, free: 5.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.1372, allocations: 4 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.71e-05/0.1373, allocations: 0 / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-06/0.1373, allocations: 7.938 kB / 471.8 MB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1384, allocations: 0.655 MB / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.1384, allocations: 0 / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.1384, allocations: 0 / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.1389, allocations: 383 kB / 472.8 MB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1389, allocations: 0 / 472.8 MB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.139, allocations: 3.984 kB / 472.8 MB, free: 4.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.139, allocations: 0 / 472.8 MB, free: 4.297 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004171/0.1394, allocations: 331.5 kB / 473.1 MB, free: 3.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1394, allocations: 8.031 kB / 473.1 MB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1394, allocations: 0.9375 kB / 473.1 MB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.1395, allocations: 110.5 kB / 473.2 MB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1395, allocations: 384 / 473.2 MB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1395, allocations: 384 / 473.2 MB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1396, allocations: 67.72 kB / 473.3 MB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1397, allocations: 0 / 473.3 MB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1397, allocations: 0 / 473.3 MB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1397, allocations: 0 / 473.3 MB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.1397, allocations: 33.69 kB / 473.3 MB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.1398, allocations: 101.2 kB / 473.4 MB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.322e-05/0.1399, allocations: 52.3 kB / 473.5 MB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.1399, allocations: 30.56 kB / 473.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.1399, allocations: 0 / 473.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.332e-05/0.14, allocations: 60.33 kB / 473.6 MB, free: 3.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.14, allocations: 0 / 473.6 MB, free: 3.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001824/0.1402, allocations: 130.7 kB / 473.7 MB, free: 3.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.1402, allocations: 77.11 kB / 473.8 MB, free: 3.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.1403, allocations: 89.86 kB / 473.9 MB, free: 3.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1403, allocations: 25.7 kB / 473.9 MB, free: 2.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1404, allocations: 80.14 kB / 474 MB, free: 2.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1404, allocations: 4 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1404, allocations: 13.7 kB / 474 MB, free: 2.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1406, allocations: 310.8 kB / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.1406, allocations: 33.7 kB / 474.3 MB, free: 2.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.1406, allocations: 29.83 kB / 474.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.1407, allocations: 60.27 kB / 474.4 MB, free: 2.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1407, allocations: 0 / 474.4 MB, free: 2.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9e-05/0.1408, allocations: 97.03 kB / 474.5 MB, free: 2.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1408, allocations: 29.7 kB / 474.5 MB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1408, allocations: 0 / 474.5 MB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1408, allocations: 7.938 kB / 474.5 MB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.1408, allocations: 0 / 474.5 MB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1408, allocations: 3.938 kB / 474.5 MB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.1408, allocations: 0 / 474.5 MB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1408, allocations: 4.094 kB / 474.5 MB, free: 2.266 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: 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.0001002/0.1409, allocations: 139.5 kB / 474.7 MB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.141, allocations: 0 / 474.7 MB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.141, allocations: 6.938 kB / 474.7 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.141, allocations: 0 / 474.7 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.141, allocations: 0 / 474.7 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.141, allocations: 4 kB / 474.7 MB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.1411, allocations: 97.27 kB / 474.8 MB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1411, allocations: 0 / 474.8 MB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1411, allocations: 0 / 474.8 MB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1411, allocations: 4 kB / 474.8 MB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1411, allocations: 11.92 kB / 474.8 MB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1411, allocations: 3.938 kB / 474.8 MB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1411, allocations: 0 / 474.8 MB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1412, allocations: 128.5 kB / 474.9 MB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.1412, allocations: 7.938 kB / 474.9 MB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1412, allocations: 0 / 474.9 MB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.1412, allocations: 11.94 kB / 474.9 MB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.1412, allocations: 0 / 474.9 MB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1412, allocations: 0 / 474.9 MB, free: 1.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.1413, allocations: 75.28 kB / 475 MB, free: 1.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1413, allocations: 4.031 kB / 475 MB, free: 1.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1417, allocations: 123.7 kB / 475.1 MB, free: 1.582 MB / 446.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.0007148/0.1424, allocations: 302.5 kB / 475.4 MB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1425, allocations: 114.8 kB / 475.5 MB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1425, allocations: 0 / 475.5 MB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.1426, allocations: 89.03 kB / 475.6 MB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.1427, allocations: 0 / 475.6 MB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.1429, allocations: 114.5 kB / 475.7 MB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.143, allocations: 59.34 kB / 475.8 MB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.143, allocations: 0 / 475.8 MB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.143, allocations: 12.5 kB / 475.8 MB, free: 0.8008 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.143, allocations: 0 / 475.8 MB, free: 0.8008 MB / 446.1 MB Notification: Performance of Templates: time 0.2295/0.3725, allocations: 3.37 MB / 479.2 MB, free: 50.21 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.277883396949619]