Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006911/0.0006911, allocations: 92.98 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 15.98 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0005993/0.1153, allocations: 248.3 kB / 491.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1177, allocations: 1.974 MB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1177, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.626e-06/0.1178, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.1178, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1189, allocations: 419.1 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.738e-05/0.1189, allocations: 4 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1189, allocations: 4 kB / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.119, allocations: 0 / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.648e-05/0.119, allocations: 0 / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-06/0.119, allocations: 0 / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.1199, allocations: 0.6317 MB / 494.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.1199, allocations: 4 kB / 494.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1199, allocations: 25.7 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1203, allocations: 251.5 kB / 494.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1203, allocations: 4 kB / 494.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1203, allocations: 0 / 494.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1203, allocations: 0 / 494.5 MB, free: 7.23 MB / 378.7 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.000402/0.1207, allocations: 413.5 kB / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1208, allocations: 8.031 kB / 494.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.1208, allocations: 38.66 kB / 494.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.1208, allocations: 0.9375 kB / 494.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.1209, allocations: 164.3 kB / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.121, allocations: 384 / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.121, allocations: 4.312 kB / 495.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.1211, allocations: 41.81 kB / 495.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1211, allocations: 0 / 495.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1211, allocations: 4 kB / 495.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1211, allocations: 0 / 495.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.1211, allocations: 0 / 495.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.1213, allocations: 232.9 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.1214, allocations: 30.55 kB / 495.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.1214, allocations: 8.922 kB / 495.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1215, allocations: 0 / 495.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.1215, allocations: 64.25 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1215, allocations: 0 / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.1217, allocations: 67.41 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1218, allocations: 77.11 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.1218, allocations: 97.97 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1218, allocations: 29.64 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.1219, allocations: 80.14 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1219, allocations: 7.906 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.1219, allocations: 0 / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.122, allocations: 314.8 kB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.122, allocations: 0 / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.122, allocations: 0 / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.1221, allocations: 72.33 kB / 496.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1221, allocations: 3.938 kB / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.638e-05/0.1222, allocations: 63.39 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1222, allocations: 37.7 kB / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1222, allocations: 0 / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1222, allocations: 0 / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.1223, allocations: 3.938 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1223, allocations: 0 / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1223, allocations: 3.938 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1223, allocations: 4 kB / 496.3 MB, free: 5.121 MB / 378.7 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 (result,$outputAlias_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.1224, allocations: 147.5 kB / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.1224, allocations: 0 / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.1224, allocations: 3.125 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1225, allocations: 4 kB / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1225, allocations: 0 / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1225, allocations: 0 / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1227, allocations: 296.3 kB / 496.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1227, allocations: 0 / 496.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.1227, allocations: 19.94 kB / 496.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1227, allocations: 0 / 496.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1227, allocations: 3.938 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1228, allocations: 0 / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1228, allocations: 0 / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1229, allocations: 169.2 kB / 496.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1229, allocations: 77.11 kB / 497 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1229, allocations: 0 / 497 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.123, allocations: 4.031 kB / 497 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.123, allocations: 0 / 497 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.123, allocations: 4 kB / 497 MB, free: 4.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.123, allocations: 75.28 kB / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1231, allocations: 0 / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003925/0.1234, allocations: 139.8 kB / 497.2 MB, free: 4.078 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000982/0.1244, allocations: 0.9011 MB / 498.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.1245, allocations: 67.39 kB / 498.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1245, allocations: 0 / 498.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.1246, allocations: 55.41 kB / 498.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1248, allocations: 8.156 kB / 498.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1253, allocations: 382.2 kB / 498.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1255, allocations: 0.673 MB / 499.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1255, allocations: 15.42 kB / 499.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1255, allocations: 0 / 499.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.253/4.379, allocations: 3.385 MB / 0.4909 GB, free: 41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches