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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 109.5 kB / 17.09 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 196.2 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2088/0.2088, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 74.14 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001617/0.1118, allocations: 0.4988 MB / 0.489 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.1146, allocations: 2.026 MB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.1146, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.1146, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.1147, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1161, allocations: 0.4986 MB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.1162, allocations: 8 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.1162, allocations: 8 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.1163, allocations: 0 / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.523e-05/0.1163, allocations: 4 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1163, allocations: 0 / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1174, allocations: 0.6161 MB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.1174, allocations: 0 / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1174, allocations: 3.984 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.1181, allocations: 379.3 kB / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1181, allocations: 0 / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1181, allocations: 0 / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1181, allocations: 4 kB / 0.4925 GB, free: 7.734 MB / 382.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.0005084/0.1187, allocations: 409.2 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1187, allocations: 11.89 kB / 0.4929 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1187, allocations: 0.9375 kB / 0.4929 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.1188, allocations: 168.4 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.1189, allocations: 384 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1189, allocations: 384 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.119, allocations: 34.02 kB / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.119, allocations: 0 / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.119, allocations: 0 / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.119, allocations: 0 / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.119, allocations: 4 kB / 0.4931 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.1192, allocations: 157.6 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.1192, allocations: 22.55 kB / 0.4933 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1192, allocations: 4.859 kB / 0.4933 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.1192, allocations: 0 / 0.4933 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1193, allocations: 60.2 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.1193, allocations: 0 / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.1194, allocations: 71.39 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1196, allocations: 85.17 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.745e-05/0.1196, allocations: 93.86 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1196, allocations: 29.64 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1197, allocations: 84.12 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.1197, allocations: 0 / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1198, allocations: 13.72 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1199, allocations: 314.8 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1199, allocations: 0 / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.1199, allocations: 4 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.12, allocations: 64.25 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.12, allocations: 0 / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.843e-05/0.1201, allocations: 59.41 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1201, allocations: 33.64 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1201, allocations: 3.938 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1201, allocations: 4 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.1202, allocations: 0 / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1202, allocations: 4 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.1202, allocations: 8.078 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1202, allocations: 4 kB / 0.4942 GB, free: 5.75 MB / 382.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.009e-05/0.1203, allocations: 139.5 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.1203, allocations: 0 / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.1203, allocations: 7.062 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1203, allocations: 0 / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1203, allocations: 0 / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.1204, allocations: 77.11 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1204, allocations: 4 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.1204, allocations: 7.984 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.1204, allocations: 0 / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001099/0.1205, allocations: 190.1 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001486/0.1207, allocations: 244.4 kB / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.675e-05/0.1207, allocations: 4 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.1207, allocations: 83.38 kB / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1208, allocations: 0 / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1218, allocations: 336.1 kB / 0.4952 GB, free: 4.574 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005753/0.1224, allocations: 0.5911 MB / 0.4958 GB, free: 3.922 MB / 382.1 MB Notification: Performance of Templates: time 0.007797/0.1302, allocations: 3.397 MB / 0.4991 GB, free: 0.5273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches