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.001423/0.001423, allocations: 77.09 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001705/0.001705, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 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.022/1.022, allocations: 158.6 MB / 186 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.1319/0.1319, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.992e-05, allocations: 2.312 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001045/0.001065, allocations: 0.5422 MB / 348.7 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.00296, allocations: 1.95 MB / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.00298, allocations: 0 / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.002994, allocations: 4 kB / 350.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.003001, allocations: 0 / 350.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.004024, allocations: 0.4984 MB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.004067, allocations: 7.938 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.004105, allocations: 3.984 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.004134, allocations: 0 / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.004153, allocations: 0 / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.004161, allocations: 4 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.004774, allocations: 0.6237 MB / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.004784, allocations: 0 / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.004801, allocations: 4 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.005206, allocations: 458.8 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005208, allocations: 0 / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005208, allocations: 4 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.005212, allocations: 0 / 352.2 MB, free: 5.074 MB / 282.7 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.0002632/0.005475, allocations: 433.4 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.00551, allocations: 8.031 kB / 352.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.005536, allocations: 4.938 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.664e-05/0.005583, allocations: 112.6 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.005592, allocations: 384 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.005598, allocations: 384 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.915e-05/0.005657, allocations: 59.91 kB / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.005664, allocations: 4.188 kB / 352.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.005669, allocations: 4.312 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005674, allocations: 7.922 kB / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.137e-05/0.005685, allocations: 29.7 kB / 352.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.646e-05/0.005742, allocations: 93.27 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.054e-05/0.005772, allocations: 56.78 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.102e-05/0.005783, allocations: 33.39 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.005788, allocations: 64 / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.005811, allocations: 67.03 kB / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.005811, allocations: 0 / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.005935, allocations: 118.8 kB / 353.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.005956, allocations: 81.11 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.335e-05/0.00598, allocations: 146.2 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.005985, allocations: 29.7 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.005996, allocations: 126.9 kB / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.00601, allocations: 352 / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.00603, allocations: 19.38 kB / 353.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.006077, allocations: 496.1 kB / 354.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.006086, allocations: 29.69 kB / 354.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-06/0.006095, allocations: 25.83 kB / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.006125, allocations: 75.09 kB / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.006127, allocations: 0 / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.588e-05/0.006162, allocations: 93.06 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.006182, allocations: 37.69 kB / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.006187, allocations: 0 / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.006194, allocations: 0 / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.006195, allocations: 4 kB / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.006198, allocations: 0 / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.006209, allocations: 3.938 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006214, allocations: 8.031 kB / 354.4 MB, free: 2.617 MB / 282.7 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 4.127e-05/0.006256, allocations: 178.3 kB / 354.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-06/0.00626, allocations: 4 kB / 354.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-06/0.00627, allocations: 6.938 kB / 354.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.006271, allocations: 0 / 354.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006273, allocations: 3.984 kB / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006276, allocations: 0 / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.413e-05/0.00631, allocations: 97.2 kB / 354.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.00631, allocations: 3.938 kB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.006311, allocations: 0 / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.006312, allocations: 0 / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.006316, allocations: 4 kB / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.006316, allocations: 0 / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006316, allocations: 0 / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.274e-05/0.006369, allocations: 139.8 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-06/0.006372, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.006381, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-06/0.006385, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-06/0.006393, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.006394, allocations: 4 kB / 354.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.396e-05/0.006408, allocations: 119.2 kB / 354.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006408, allocations: 7.969 kB / 354.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.006652, allocations: 123.6 kB / 355 MB, free: 1.859 MB / 282.7 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.0004583/0.00711, allocations: 326.6 kB / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.007186, allocations: 126.5 kB / 355.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007188, allocations: 0 / 355.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.007204, allocations: 88.8 kB / 355.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.665e-05/0.007291, allocations: 3.938 kB / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001131/0.007404, allocations: 114.5 kB / 355.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.109e-05/0.007425, allocations: 55.34 kB / 355.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.611e-06/0.007431, allocations: 0 / 355.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.007455, allocations: 82.12 kB / 355.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007456, allocations: 128 / 355.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of Templates: time 0.004938/0.01239, allocations: 3.775 MB / 359.6 MB, free: 13.2 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3125039930455387]