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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 101.1 kB / 16.27 MB, free: 5.93 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.001121/0.001122, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.508/1.508, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2639/0.2639, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.00146/0.00146, allocations: 73.53 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001744/0.1275, allocations: 0.4975 MB / 441.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1299, allocations: 2.029 MB / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.1299, allocations: 0 / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.13, allocations: 0 / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-06/0.13, allocations: 0 / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1313, allocations: 0.4905 MB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.1314, allocations: 0 / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1315, allocations: 0 / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1315, allocations: 0 / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.1315, allocations: 7.938 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1315, allocations: 0 / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.1323, allocations: 0.6281 MB / 444.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1324, allocations: 0 / 444.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.1324, allocations: 4 kB / 444.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.1328, allocations: 383.2 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1329, allocations: 4 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1329, allocations: 0 / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1329, allocations: 0 / 444.7 MB, free: 2.73 MB / 318.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.0003659/0.1332, allocations: 409.1 kB / 445.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1333, allocations: 11.89 kB / 445.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.1333, allocations: 34.75 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1334, allocations: 4.922 kB / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.799e-05/0.1334, allocations: 160.4 kB / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1335, allocations: 384 / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1335, allocations: 4.375 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.432e-05/0.1336, allocations: 33.83 kB / 445.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1336, allocations: 0 / 445.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1336, allocations: 4 kB / 445.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1336, allocations: 4 kB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.1336, allocations: 7.922 kB / 445.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.1339, allocations: 228.8 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.1339, allocations: 30.59 kB / 445.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.134, allocations: 8.922 kB / 445.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.134, allocations: 0 / 445.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.134, allocations: 60.27 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.134, allocations: 0 / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.1342, allocations: 75.33 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1343, allocations: 81.23 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.874e-05/0.1343, allocations: 89.86 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.1343, allocations: 29.7 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.121e-05/0.1343, allocations: 80.14 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1343, allocations: 3.906 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.1344, allocations: 13.72 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.1344, allocations: 310.8 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.1344, allocations: 11.92 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-06/0.1345, allocations: 8 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.1345, allocations: 68.2 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1345, allocations: 3.938 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.439e-05/0.1346, allocations: 63.41 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1346, allocations: 37.69 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1346, allocations: 0 / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1346, allocations: 4 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-05/0.1346, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1347, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.1347, allocations: 4.094 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1347, allocations: 0 / 446.5 MB, free: 0.6016 MB / 318.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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 5.874e-05/0.1348, allocations: 143.4 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.1348, allocations: 4 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.1348, allocations: 3.125 kB / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1348, allocations: 7.984 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1348, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1348, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.135, allocations: 300.2 kB / 446.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.135, allocations: 0 / 446.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-06/0.135, allocations: 4 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.135, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.135, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1351, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1351, allocations: 0 / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1352, allocations: 177.1 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1353, allocations: 85.16 kB / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1353, allocations: 0 / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.1353, allocations: 7.922 kB / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1353, allocations: 4 kB / 447.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1354, allocations: 0 / 447.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.746e-05/0.1354, allocations: 75.28 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1354, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1358, allocations: 123.9 kB / 447.4 MB, free: 15.57 MB / 334.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.001089/0.1369, allocations: 0.9012 MB / 448.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.137, allocations: 71.38 kB / 448.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1371, allocations: 0 / 448.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.1371, allocations: 59.39 kB / 448.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.1373, allocations: 10.75 kB / 448.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.1382, allocations: 1.196 MB / 449.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1385, allocations: 0.669 MB / 450.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.168e-05/0.1385, allocations: 0 / 450.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1385, allocations: 15.5 kB / 450.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1385, allocations: 0 / 450.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1622, allocations: 4.346 MB / 454.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.057, allocations: 7.781 kB / 454.7 MB, free: 8.141 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > 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