Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.001479/0.001479, allocations: 109.2 kB / 20.45 MB, free: 1.516 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.001599/0.001599, allocations: 222.1 kB / 23.76 MB, free: 4.73 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.285/1.285, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.1978/0.1978, allocations: 44.25 MB / 331 MB, free: 9.523 MB / 270.1 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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") [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.002059/0.002059, allocations: 78.17 kB / 468.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 61.03 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.00153/0.1146, allocations: 0.5066 MB / 0.5179 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1175, allocations: 2.112 MB / 0.5199 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.1175, allocations: 0 / 0.5199 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1175, allocations: 4 kB / 0.5199 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1175, allocations: 0 / 0.5199 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1188, allocations: 0.5259 MB / 0.5204 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.1188, allocations: 0 / 0.5204 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1189, allocations: 3.938 kB / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.1189, allocations: 0 / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.813e-05/0.1189, allocations: 7.938 kB / 0.5205 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.1189, allocations: 0 / 0.5205 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.12, allocations: 0.7486 MB / 0.5212 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-06/0.12, allocations: 0 / 0.5212 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.12, allocations: 3.984 kB / 0.5212 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.1205, allocations: 387 kB / 0.5216 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1205, allocations: 4 kB / 0.5216 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1205, allocations: 0 / 0.5216 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1205, allocations: 3.938 kB / 0.5216 GB, free: 2.512 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.0004025/0.1209, allocations: 335.4 kB / 0.5219 GB, free: 2.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.121, allocations: 12.03 kB / 0.5219 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.121, allocations: 0.9375 kB / 0.5219 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.1211, allocations: 106.5 kB / 0.522 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1211, allocations: 384 / 0.522 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1211, allocations: 8.359 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.1212, allocations: 41.94 kB / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1212, allocations: 0 / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.1212, allocations: 0 / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1212, allocations: 4 kB / 0.5221 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.44e-05/0.1212, allocations: 0 / 0.5221 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.1213, allocations: 112.8 kB / 0.5222 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.1214, allocations: 22.61 kB / 0.5222 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1214, allocations: 4.859 kB / 0.5222 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.1214, allocations: 4 kB / 0.5222 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.1214, allocations: 64.14 kB / 0.5223 GB, free: 1.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1214, allocations: 64 / 0.5223 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.1216, allocations: 63.39 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1216, allocations: 85.05 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.1217, allocations: 93.86 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1217, allocations: 25.7 kB / 0.5225 GB, free: 1.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1217, allocations: 80.27 kB / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1218, allocations: 4 kB / 0.5226 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1218, allocations: 17.7 kB / 0.5226 GB, free: 1.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1219, allocations: 310.8 kB / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.1219, allocations: 0 / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.1219, allocations: 0 / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.122, allocations: 68.2 kB / 0.523 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.122, allocations: 0 / 0.523 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.69e-05/0.122, allocations: 67.45 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.1221, allocations: 33.64 kB / 0.5231 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1221, allocations: 3.938 kB / 0.5231 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1221, allocations: 4 kB / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1221, allocations: 0 / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.1221, allocations: 0 / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.1221, allocations: 0 / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1221, allocations: 0 / 0.5231 GB, free: 0.7383 MB / 398.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 8.765e-05/0.1222, allocations: 135.5 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1222, allocations: 7.969 kB / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-06/0.1222, allocations: 10.98 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1222, allocations: 0 / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1222, allocations: 0 / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1222, allocations: 0 / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.1223, allocations: 116.8 kB / 0.5233 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1223, allocations: 0 / 0.5233 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-06/0.1223, allocations: 3.938 kB / 0.5233 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1223, allocations: 7.938 kB / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1223, allocations: 0 / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1223, allocations: 4 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1223, allocations: 7.984 kB / 0.5234 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.1224, allocations: 82.84 kB / 0.5234 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-06/0.1224, allocations: 4 kB / 0.5234 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1224, allocations: 7.922 kB / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.1224, allocations: 0 / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1225, allocations: 7.922 kB / 0.5234 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1225, allocations: 0 / 0.5234 GB, free: 276 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.1225, allocations: 83.31 kB / 0.5235 GB, free: 192 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1225, allocations: 0 / 0.5235 GB, free: 192 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.1228, allocations: 127.5 kB / 0.5237 GB, free: 64 kB / 398.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.0006486/0.1235, allocations: 295.5 kB / 0.5239 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1236, allocations: 63.34 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1236, allocations: 4 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.1236, allocations: 55.41 kB / 0.524 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1238, allocations: 11.92 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.124, allocations: 106.6 kB / 0.5242 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1242, allocations: 0.669 MB / 0.5248 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.1242, allocations: 7.438 kB / 0.5248 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1242, allocations: 0 / 0.5248 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005344/0.1296, allocations: 3.238 MB / 0.528 GB, free: 11.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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: 7.803943501086906]