Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.001392/0.001392, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001497/0.001497, allocations: 206.5 kB / 23.74 MB, free: 4.543 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.468/1.468, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2375/0.2375, allocations: 44.27 MB / 331.1 MB, free: 9.289 MB / 270.1 MB " [Timeout remaining time 179] 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [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.002367/0.002367, allocations: 80.98 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1293, allocations: 61.04 MB / 0.5174 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001689/0.131, allocations: 0.5066 MB / 0.5179 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1345, allocations: 2.225 MB / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1345, allocations: 3.938 kB / 0.52 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1345, allocations: 4 kB / 0.52 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.1345, allocations: 0 / 0.52 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.1363, allocations: 0.5686 MB / 0.5206 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.1364, allocations: 7.984 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.1364, allocations: 4 kB / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.1364, allocations: 0 / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.303e-05/0.1365, allocations: 7.938 kB / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-06/0.1365, allocations: 4 kB / 0.5206 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.1377, allocations: 0.6628 MB / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.1377, allocations: 0 / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1377, allocations: 0 / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.1384, allocations: 438.8 kB / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1384, allocations: 0 / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1384, allocations: 0 / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1384, allocations: 0 / 0.5217 GB, free: 2.215 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.0004832/0.1389, allocations: 371 kB / 0.522 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1389, allocations: 8.031 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1389, allocations: 4.922 kB / 0.5221 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.139, allocations: 102.5 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.139, allocations: 4.375 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1391, allocations: 384 / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1392, allocations: 63.66 kB / 0.5222 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1392, allocations: 4 kB / 0.5222 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1392, allocations: 0 / 0.5222 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1392, allocations: 0 / 0.5222 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.1392, allocations: 25.7 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1394, allocations: 105.3 kB / 0.5223 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.701e-05/0.1394, allocations: 40.28 kB / 0.5224 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1395, allocations: 38.66 kB / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1395, allocations: 0 / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.1395, allocations: 60.2 kB / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1395, allocations: 0 / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002159/0.1397, allocations: 130.7 kB / 0.5226 GB, free: 1.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1398, allocations: 77.11 kB / 0.5227 GB, free: 1.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.1398, allocations: 89.86 kB / 0.5228 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1399, allocations: 25.7 kB / 0.5228 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.1399, allocations: 80.14 kB / 0.5229 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1399, allocations: 0 / 0.5229 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.1399, allocations: 17.72 kB / 0.5229 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1401, allocations: 314.8 kB / 0.5232 GB, free: 472 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.1401, allocations: 29.7 kB / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.1401, allocations: 25.7 kB / 0.5232 GB, free: 404 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.1402, allocations: 68.39 kB / 0.5233 GB, free: 320 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1402, allocations: 0 / 0.5233 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.062e-05/0.1403, allocations: 97.03 kB / 0.5234 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.1403, allocations: 29.7 kB / 0.5234 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1403, allocations: 0 / 0.5234 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1403, allocations: 3.938 kB / 0.5234 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1403, allocations: 3.938 kB / 0.5234 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1403, allocations: 7.984 kB / 0.5234 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1404, allocations: 4 kB / 0.5234 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1404, allocations: 4.031 kB / 0.5234 GB, free: 144 kB / 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 0.0001126/0.1405, allocations: 135.5 kB / 0.5236 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.1405, allocations: 3.984 kB / 0.5236 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.1405, allocations: 10.94 kB / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1405, allocations: 0 / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1405, allocations: 0 / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1405, allocations: 0 / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.619e-05/0.1406, allocations: 101.3 kB / 0.5237 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1406, allocations: 0 / 0.5237 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1406, allocations: 0 / 0.5237 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1406, allocations: 3.984 kB / 0.5237 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1406, allocations: 4 kB / 0.5237 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1406, allocations: 3.938 kB / 0.5237 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1406, allocations: 4 kB / 0.5237 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1407, allocations: 116.5 kB / 0.5238 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-06/0.1407, allocations: 0 / 0.5238 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1407, allocations: 3.984 kB / 0.5238 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.1407, allocations: 3.938 kB / 0.5238 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1408, allocations: 4 kB / 0.5238 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.1408, allocations: 0 / 0.5238 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.1408, allocations: 75.28 kB / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1408, allocations: 4.031 kB / 0.5239 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.1412, allocations: 159.3 kB / 0.524 GB, free: 15.45 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.0007659/0.142, allocations: 339.1 kB / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1422, allocations: 114.8 kB / 0.5245 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1422, allocations: 0 / 0.5245 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.1422, allocations: 89.16 kB / 0.5246 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1423, allocations: 0 / 0.5246 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.1426, allocations: 140.2 kB / 0.5247 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.1426, allocations: 59.34 kB / 0.5248 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.1426, allocations: 7.438 kB / 0.5248 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1426, allocations: 0 / 0.5248 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Templates: time 0.006422/0.1491, allocations: 3.288 MB / 0.528 GB, free: 11.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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: 8.939848207868636]