Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001386/0.001386, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001516/0.001516, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.994/0.994, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2567/0.2567, allocations: 34.86 MB / 296.3 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.104e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001326/0.001357, allocations: 0.5134 MB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006489/0.007846, allocations: 1.981 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.007861, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.007879, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.007885, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.004218/0.0121, allocations: 0.5023 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.01215, allocations: 3.984 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.01218, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.01221, allocations: 7.938 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.767e-05/0.01222, allocations: 4 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.01223, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008786/0.01311, allocations: 0.6744 MB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.01312, allocations: 3.938 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.01314, allocations: 0 / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.01369, allocations: 486.7 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.01369, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01369, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.01369, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.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.0003641/0.01406, allocations: 445.4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01409, allocations: 8.031 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.01413, allocations: 8.875 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.047e-05/0.01419, allocations: 112.6 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.0142, allocations: 4.359 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.01421, allocations: 384 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/0.01429, allocations: 59.91 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.0143, allocations: 192 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.01431, allocations: 384 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01432, allocations: 3.938 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.01434, allocations: 33.7 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.76e-05/0.01443, allocations: 104.6 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.01447, allocations: 56.78 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.0145, allocations: 37.39 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.0145, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.01454, allocations: 67.09 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.01454, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000163/0.0147, allocations: 114.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.01474, allocations: 81.05 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.01479, allocations: 150.2 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.0148, allocations: 29.83 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003082/0.01788, allocations: 126.9 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.0179, allocations: 352 / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.01793, allocations: 19.38 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01804, allocations: 492.1 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.01807, allocations: 29.7 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.01808, allocations: 33.69 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.01813, allocations: 67.03 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01813, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.305e-05/0.0182, allocations: 93.12 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.01823, allocations: 40.34 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.01823, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01825, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-06/0.01825, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.01826, allocations: 3.938 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.01827, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.01828, allocations: 4 kB / 385.1 MB, free: 11.39 MB / 362.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 6.778e-05/0.01834, allocations: 178.3 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.01835, allocations: 7.938 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.01836, allocations: 14.97 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01837, allocations: 3.984 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01837, allocations: 0 / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01837, allocations: 7.922 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.666e-05/0.01843, allocations: 108.6 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.01843, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01843, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.01843, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.01844, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.01844, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01844, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.843e-05/0.01853, allocations: 139.8 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.01853, allocations: 0 / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.01854, allocations: 0 / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.01855, allocations: 0 / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.01856, allocations: 7.984 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.01856, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.01859, allocations: 123.1 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01859, allocations: 3.938 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.01895, allocations: 127.6 kB / 385.8 MB, free: 10.59 MB / 362.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.0006399/0.01959, allocations: 346.8 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.844e-05/0.01969, allocations: 122.5 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01969, allocations: 0 / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.01972, allocations: 96.84 kB / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.01984, allocations: 0 / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001684/0.02001, allocations: 114.4 kB / 386.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.02004, allocations: 55.36 kB / 386.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.98e-06/0.02004, allocations: 0 / 386.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.02006, allocations: 8.5 kB / 386.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02006, allocations: 0 / 386.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.006805/0.02686, allocations: 3.541 MB / 390.1 MB, free: 6.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4720562580041587]