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.001373/0.001373, allocations: 111.1 kB / 17.08 MB, free: 5.82 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.001636/0.001636, allocations: 197.3 kB / 18.01 MB, free: 4.965 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.594/1.594, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.23/0.23, allocations: 43.52 MB / 314.8 MB, free: 480 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.001678/0.001678, allocations: 68.45 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1168, allocations: 57.8 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002078/0.1189, allocations: 0.5016 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.1222, allocations: 2.021 MB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1223, allocations: 0 / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.1223, allocations: 0 / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.1224, allocations: 0 / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1241, allocations: 0.5025 MB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.1242, allocations: 0 / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1243, allocations: 8 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.1243, allocations: 4 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.705e-05/0.1243, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.1243, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1255, allocations: 0.6239 MB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.1255, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.1255, allocations: 4 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.1263, allocations: 375.3 kB / 0.4925 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1263, allocations: 0 / 0.4925 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1263, allocations: 0 / 0.4925 GB, free: 7.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1263, allocations: 0 / 0.4925 GB, free: 7.781 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.0005465/0.1269, allocations: 405.3 kB / 0.4929 GB, free: 7.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1269, allocations: 11.89 kB / 0.4929 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.127, allocations: 4.938 kB / 0.4929 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.1271, allocations: 172.3 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1271, allocations: 384 / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1271, allocations: 384 / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.1272, allocations: 38.02 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1272, allocations: 0 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1272, allocations: 0 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1272, allocations: 0 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.1273, allocations: 0 / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1274, allocations: 157.6 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.1275, allocations: 26.5 kB / 0.4933 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.1275, allocations: 4.859 kB / 0.4933 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.1275, allocations: 96 / 0.4933 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.1276, allocations: 68.2 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1276, allocations: 0 / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001917/0.1278, allocations: 63.39 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1278, allocations: 81.17 kB / 0.4935 GB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.744e-05/0.1279, allocations: 93.86 kB / 0.4936 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1279, allocations: 29.64 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.128, allocations: 80.14 kB / 0.4937 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.128, allocations: 4 kB / 0.4937 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.128, allocations: 17.66 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.1281, allocations: 310.8 kB / 0.494 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.1281, allocations: 0 / 0.494 GB, free: 6.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1282, allocations: 7.984 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.1282, allocations: 64.33 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1282, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.745e-05/0.1283, allocations: 59.41 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.1283, allocations: 37.64 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1284, allocations: 0 / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1284, allocations: 3.984 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.1284, allocations: 0 / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1284, allocations: 0 / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1284, allocations: 3.938 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1284, allocations: 8.031 kB / 0.4941 GB, free: 5.793 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.555e-05/0.1285, allocations: 135.5 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1286, allocations: 7.938 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.439e-05/0.1286, allocations: 3.125 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1286, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1286, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1286, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.639e-05/0.1287, allocations: 145.7 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1287, allocations: 0 / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-06/0.1287, allocations: 12 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1287, allocations: 3.938 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1287, allocations: 4 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1287, allocations: 0 / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1288, allocations: 0 / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1289, allocations: 90.83 kB / 0.4945 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.1289, allocations: 77.11 kB / 0.4946 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1289, allocations: 3.969 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.1289, allocations: 4 kB / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.129, allocations: 11.88 kB / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.129, allocations: 0 / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.129, allocations: 83.3 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1295, allocations: 116 kB / 0.4948 GB, free: 4.996 MB / 382.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.0008667/0.1304, allocations: 301.4 kB / 0.4951 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1305, allocations: 63.39 kB / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1305, allocations: 4 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.818e-05/0.1305, allocations: 51.41 kB / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1307, allocations: 12.06 kB / 0.4952 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.1309, allocations: 118.6 kB / 0.4953 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1311, allocations: 0.669 MB / 0.496 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1312, allocations: 11.44 kB / 0.496 GB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1312, allocations: 3.938 kB / 0.496 GB, free: 3.684 MB / 382.1 MB Notification: Performance of Templates: time 0.00662/0.1378, allocations: 3.276 MB / 0.4992 GB, free: 412 kB / 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