Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008294/0.0008294, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9364/0.9364, allocations: 158.6 MB / 185.1 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1474/0.1474, allocations: 32.37 MB / 269.7 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 407 MB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.044e-05, allocations: 6.078 kB / 407.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001458/0.001488, allocations: 0.5143 MB / 407.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.003718, allocations: 1.979 MB / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.003741, allocations: 0 / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.003758, allocations: 0 / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-06/0.003767, allocations: 0 / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.005301, allocations: 0.5217 MB / 410.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.005356, allocations: 4 kB / 410.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.005401, allocations: 7.984 kB / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.005433, allocations: 3.984 kB / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.005455, allocations: 0 / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.005464, allocations: 0 / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.006288, allocations: 0.6275 MB / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.006297, allocations: 0 / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.006316, allocations: 0 / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.006898, allocations: 466.8 kB / 411.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006901, allocations: 0 / 411.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006902, allocations: 0 / 411.2 MB, free: 14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006907, allocations: 0 / 411.2 MB, free: 14 MB / 394.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.0003845/0.007291, allocations: 347.3 kB / 411.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.007338, allocations: 15.91 kB / 411.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.007393, allocations: 34.75 kB / 411.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.007424, allocations: 4.938 kB / 411.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.138e-05/0.007485, allocations: 101.8 kB / 411.7 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.007499, allocations: 384 / 411.7 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.007509, allocations: 384 / 411.7 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.007625, allocations: 59.95 kB / 411.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.007635, allocations: 4.188 kB / 411.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.007647, allocations: 8.125 kB / 411.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.007652, allocations: 0 / 411.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.007686, allocations: 25.7 kB / 411.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.007904, allocations: 200 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.007967, allocations: 56.3 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.007993, allocations: 34.62 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.008003, allocations: 3.938 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.008038, allocations: 60.27 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.00804, allocations: 3.984 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.008229, allocations: 130.7 kB / 412.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.00827, allocations: 81.11 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.097e-05/0.008301, allocations: 89.98 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.008309, allocations: 29.7 kB / 412.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.008329, allocations: 80.14 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.008351, allocations: 7.938 kB / 412.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.008373, allocations: 13.72 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.008451, allocations: 314.8 kB / 412.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.008473, allocations: 29.7 kB / 412.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.008488, allocations: 25.7 kB / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.00853, allocations: 72.25 kB / 413 MB, free: 11.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008532, allocations: 0 / 413 MB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.536e-05/0.008607, allocations: 97.05 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.008639, allocations: 37.7 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.008645, allocations: 4 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.008658, allocations: 0 / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.778e-05/0.008676, allocations: 3.984 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.008681, allocations: 0 / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.008694, allocations: 0 / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008702, allocations: 7.938 kB / 413.1 MB, free: 11.76 MB / 394.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 ($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 6.989e-05/0.008772, allocations: 131.5 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.008788, allocations: 7.938 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.008803, allocations: 7.188 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008805, allocations: 0 / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.00881, allocations: 0 / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008813, allocations: 0 / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.009016, allocations: 305 kB / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009017, allocations: 0 / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.009022, allocations: 0 / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009025, allocations: 0 / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.009033, allocations: 4 kB / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009034, allocations: 0 / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009035, allocations: 0 / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.009128, allocations: 198.9 kB / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.009134, allocations: 3.938 kB / 413.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.009143, allocations: 0 / 413.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.009169, allocations: 0 / 413.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.009189, allocations: 4 kB / 413.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.009192, allocations: 0 / 413.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.16e-05/0.009213, allocations: 83.2 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009213, allocations: 0 / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.009592, allocations: 127.6 kB / 414 MB, free: 10.8 MB / 394.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 (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.0007981/0.01039, allocations: 0.9821 MB / 414.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01051, allocations: 118.8 kB / 415.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01051, allocations: 0 / 415.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.01054, allocations: 89.05 kB / 415.1 MB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.01068, allocations: 4 kB / 415.1 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.01147, allocations: 1.345 MB / 416.5 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.01153, allocations: 55.36 kB / 416.5 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.383e-05/0.01154, allocations: 3.984 kB / 416.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.01157, allocations: 8.5 kB / 416.6 MB, free: 7.977 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01157, allocations: 0 / 416.6 MB, free: 7.977 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.03241, allocations: 5.136 MB / 421.7 MB, free: 2.812 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.213, allocations: 7.922 kB / 421.7 MB, free: 2.805 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.442016869783401]