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.001443/0.001443, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001312/0.001312, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.432/1.432, 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.2025/0.2025, allocations: 43.52 MB / 314.8 MB, free: 472 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.001513/0.001513, allocations: 71.84 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002045/0.1159, allocations: 0.5055 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1193, allocations: 2.025 MB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.1193, allocations: 0 / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.1193, allocations: 0 / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.1194, allocations: 4 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1211, allocations: 498.6 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.1212, allocations: 3.984 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.1213, allocations: 15.98 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.1213, allocations: 0 / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.1213, allocations: 0 / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.1214, allocations: 0 / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1225, allocations: 0.6161 MB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.1225, allocations: 4 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1225, allocations: 4 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.1232, allocations: 379.3 kB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1232, allocations: 0 / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1232, allocations: 0 / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1232, allocations: 0 / 0.4925 GB, free: 7.758 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.000624/0.1239, allocations: 405.3 kB / 0.4929 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1239, allocations: 11.89 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.124, allocations: 4.938 kB / 0.4929 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1241, allocations: 168.3 kB / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1241, allocations: 384 / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1241, allocations: 384 / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.1242, allocations: 34.02 kB / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1242, allocations: 0 / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1243, allocations: 3.984 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1243, allocations: 0 / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.1243, allocations: 0 / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1245, allocations: 153.6 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.1245, allocations: 22.52 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1245, allocations: 4.859 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.1246, allocations: 4.094 kB / 0.4933 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.1246, allocations: 60.2 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1246, allocations: 0 / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002035/0.1248, allocations: 67.39 kB / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1249, allocations: 85.17 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.125, allocations: 93.8 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.125, allocations: 29.64 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.125, allocations: 80.14 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.125, allocations: 4 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1251, allocations: 13.7 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1252, allocations: 314.8 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.1252, allocations: 4 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1252, allocations: 4 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.1253, allocations: 60.27 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1253, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.763e-05/0.1254, allocations: 63.39 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1254, allocations: 37.64 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1255, allocations: 3.984 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1255, allocations: 0 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/0.1255, allocations: 3.938 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1255, allocations: 0 / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.1255, allocations: 8.094 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1255, allocations: 3.984 kB / 0.4941 GB, free: 5.773 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 9.295e-05/0.1256, allocations: 135.5 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.1256, allocations: 7.938 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.1257, allocations: 7.109 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1257, allocations: 4 kB / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1257, allocations: 0 / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1257, allocations: 0 / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.1258, allocations: 145.7 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1258, allocations: 8 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1258, allocations: 0 / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1258, allocations: 3.938 kB / 0.4944 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1258, allocations: 0 / 0.4944 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1258, allocations: 3.984 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1258, allocations: 0 / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1259, allocations: 86.84 kB / 0.4945 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.126, allocations: 77.11 kB / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.126, allocations: 15.89 kB / 0.4946 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.126, allocations: 4 kB / 0.4946 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.1261, allocations: 7.938 kB / 0.4946 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1261, allocations: 0 / 0.4946 GB, free: 5.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.868e-05/0.1261, allocations: 79.31 kB / 0.4947 GB, free: 5.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 0.4947 GB, free: 5.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.1266, allocations: 116 kB / 0.4948 GB, free: 4.973 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.0008218/0.1274, allocations: 301.6 kB / 0.4951 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1275, allocations: 63.41 kB / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1275, allocations: 0 / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.1276, allocations: 51.41 kB / 0.4952 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1277, allocations: 8.125 kB / 0.4952 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.1279, allocations: 114.6 kB / 0.4953 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1281, allocations: 0.6728 MB / 0.496 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.1282, allocations: 7.438 kB / 0.496 GB, free: 3.672 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1282, allocations: 0 / 0.496 GB, free: 3.672 MB / 382.1 MB Notification: Performance of Templates: time 0.006069/0.1343, allocations: 3.288 MB / 0.4992 GB, free: 388 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