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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 210.1 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 256.7 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2676/0.2676, allocations: 46.89 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 90] 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=500,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=500,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.002293/0.002293, allocations: 83.86 kB / 0.495 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3091, allocations: 65.99 MB / 0.5594 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001647/0.3107, allocations: 0.4931 MB / 0.5599 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.3137, allocations: 2.034 MB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.3137, allocations: 0 / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3138, allocations: 4 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.3138, allocations: 0 / 0.5619 GB, free: 2.672 MB / 398.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.001429/0.3152, allocations: 0.4982 MB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.3152, allocations: 4 kB / 0.5624 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.3153, allocations: 3.938 kB / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.3153, allocations: 0 / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.434e-05/0.3153, allocations: 0 / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3153, allocations: 4 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3165, allocations: 0.6785 MB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.3165, allocations: 0 / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.3165, allocations: 0 / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.3171, allocations: 393.4 kB / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3171, allocations: 0 / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3171, allocations: 8 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3171, allocations: 3.938 kB / 0.5634 GB, free: 1.094 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.0004963/0.3176, allocations: 408.6 kB / 0.5638 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3177, allocations: 8.031 kB / 0.5638 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3177, allocations: 0.9375 kB / 0.5638 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3178, allocations: 164.4 kB / 0.564 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3178, allocations: 384 / 0.564 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-06/0.3178, allocations: 384 / 0.564 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3179, allocations: 41.94 kB / 0.564 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3179, allocations: 4 kB / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3179, allocations: 0 / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.318, allocations: 0 / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.318, allocations: 0 / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3181, allocations: 149.7 kB / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.3182, allocations: 14.58 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.3182, allocations: 8.844 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.3182, allocations: 0 / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.3183, allocations: 76.14 kB / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.3183, allocations: 0 / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002078/0.3185, allocations: 63.41 kB / 0.5643 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3185, allocations: 77.11 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.3186, allocations: 97.8 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3186, allocations: 25.7 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3186, allocations: 80.14 kB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3187, allocations: 4.125 kB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3187, allocations: 13.72 kB / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3188, allocations: 310.8 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.3188, allocations: 4 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.3188, allocations: 7.938 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.3189, allocations: 56.27 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3189, allocations: 4 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.958e-05/0.319, allocations: 59.48 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.319, allocations: 41.64 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.319, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.319, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.319, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.319, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.3191, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3191, allocations: 4 kB / 0.5651 GB, free: 15.13 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.0001058/0.3192, allocations: 139.5 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.3192, allocations: 3.938 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-06/0.3192, allocations: 11.11 kB / 0.5652 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3192, allocations: 4 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3192, allocations: 7.875 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3192, allocations: 0 / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3193, allocations: 141.7 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3193, allocations: 3.984 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3193, allocations: 0 / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.3193, allocations: 7.938 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3193, allocations: 0 / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3193, allocations: 4 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3193, allocations: 7.984 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3194, allocations: 90.83 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.3195, allocations: 81.05 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3195, allocations: 3.938 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.3195, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.3195, allocations: 4 kB / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3195, allocations: 0 / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.534e-05/0.3196, allocations: 79.31 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3196, allocations: 0 / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.32, allocations: 135.6 kB / 0.5658 GB, free: 14.32 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.0007543/0.3208, allocations: 307.2 kB / 0.566 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3209, allocations: 63.39 kB / 0.5661 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3209, allocations: 0 / 0.5661 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.3209, allocations: 55.41 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.321, allocations: 7.094 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.3212, allocations: 118.7 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3215, allocations: 0.669 MB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.3215, allocations: 15.5 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3215, allocations: 0 / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Templates: time 0.006447/0.328, allocations: 3.413 MB / 0.5703 GB, free: 9.59 MB / 414.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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