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.001164/0.001164, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.002976, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001184/0.001184, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002789, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9381/0.9381, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1752/1.113, allocations: 49.5 MB / 220.5 MB, free: 1.453 MB / 218.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.1318/0.1318, allocations: 32.35 MB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.026/0.1578, allocations: 12.28 MB / 265.9 MB, free: 4 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 1.443e-06/1.443e-06, allocations: 0 / 267.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.959e-05, allocations: 6.25 kB / 267.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001237/0.001257, allocations: 0.5594 MB / 267.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.003567, allocations: 1.989 MB / 269.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.00358, allocations: 0 / 269.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.557e-06/0.003583, allocations: 4 kB / 269.8 MB, free: 116 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.41e-07/0.003584, allocations: 0 / 269.8 MB, free: 116 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.004613, allocations: 458.3 kB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.00467, allocations: 3.938 kB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.004703, allocations: 0 / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.004736, allocations: 7.984 kB / 270.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.004756, allocations: 0 / 270.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.004763, allocations: 0 / 270.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.005742, allocations: 0.6822 MB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.005749, allocations: 0 / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.005764, allocations: 0 / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.00625, allocations: 355.1 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.006261, allocations: 0 / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006262, allocations: 0 / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.006277, allocations: 0 / 271.2 MB, free: 14.62 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.0003688/0.006646, allocations: 361.7 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.006676, allocations: 8.031 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.006705, allocations: 0.9375 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.991e-05/0.006765, allocations: 109.8 kB / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.006775, allocations: 384 / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.00678, allocations: 384 / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/0.006847, allocations: 59.91 kB / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.006854, allocations: 192 / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.006859, allocations: 384 / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006865, allocations: 3.938 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.006884, allocations: 37.64 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.48e-05/0.006949, allocations: 57.03 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.006993, allocations: 52.3 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.007011, allocations: 30.56 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.007019, allocations: 4.062 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.007055, allocations: 60.2 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.007055, allocations: 0 / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002177/0.007273, allocations: 114.8 kB / 272.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.007308, allocations: 77.11 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.128e-05/0.00734, allocations: 89.98 kB / 272.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.007349, allocations: 29.7 kB / 272.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.00737, allocations: 80.14 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.007386, allocations: 4 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.007413, allocations: 9.719 kB / 272.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.00749, allocations: 326.8 kB / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.007506, allocations: 29.7 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.007518, allocations: 25.7 kB / 272.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.007561, allocations: 64.2 kB / 272.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007562, allocations: 0 / 272.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.404e-05/0.007616, allocations: 93.16 kB / 272.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.007649, allocations: 29.7 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007653, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.007661, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-06/0.007665, allocations: 4 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.007667, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.007684, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.007692, allocations: 3.938 kB / 273 MB, free: 12.64 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 5.872e-05/0.00775, allocations: 139.5 kB / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-06/0.007755, allocations: 0 / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-06/0.007763, allocations: 7.031 kB / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007764, allocations: 0 / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.007767, allocations: 4 kB / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.007769, allocations: 7.938 kB / 273.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.317e-05/0.007822, allocations: 65.8 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.007823, allocations: 0 / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.007823, allocations: 0 / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.007828, allocations: 7.938 kB / 273.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.00783, allocations: 0 / 273.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.007834, allocations: 3.984 kB / 273.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007835, allocations: 0 / 273.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007835, allocations: 4 kB / 273.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.007908, allocations: 120.5 kB / 273.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007919, allocations: 0 / 273.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.007925, allocations: 0 / 273.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-06/0.007933, allocations: 0 / 273.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.007935, allocations: 0 / 273.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.909e-06/0.00794, allocations: 8.859 kB / 273.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00794, allocations: 0 / 273.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.008237, allocations: 119.6 kB / 273.5 MB, free: 12.09 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.0005914/0.008828, allocations: 341.5 kB / 273.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.008916, allocations: 115.7 kB / 273.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.00892, allocations: 0 / 273.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.008953, allocations: 94.02 kB / 274 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.75e-05/0.009001, allocations: 7.938 kB / 274 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001324/0.009133, allocations: 108.9 kB / 274.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.009161, allocations: 51.36 kB / 274.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.08e-06/0.009166, allocations: 0 / 274.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.009198, allocations: 55.38 kB / 274.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009199, allocations: 0 / 274.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of Templates: time 0.006175/0.01537, allocations: 3.773 MB / 278 MB, free: 7.453 MB / 282.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 -ignoreHideResult -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: 2.6820128625258803]