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.0008544/0.0008544, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008708/0.0008708, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9161/0.9161, allocations: 158.6 MB / 185 MB, free: 3.043 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.1436/0.1436, allocations: 32.37 MB / 269.6 MB, free: 14.98 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 1.904e-06/1.904e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.648e-05, allocations: 5.938 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001358/0.001385, allocations: 0.5182 MB / 407.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.003924, allocations: 1.975 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.003957, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.00398, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.636e-06/0.003989, allocations: 3.938 kB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.005434, allocations: 0.5217 MB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.005496, allocations: 7.922 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.005552, allocations: 0 / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.005589, allocations: 8 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.005612, allocations: 0 / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.005622, allocations: 0 / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.006414, allocations: 0.6275 MB / 410.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.006424, allocations: 0 / 410.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.006446, allocations: 0 / 410.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.007018, allocations: 466.9 kB / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.007022, allocations: 0 / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.007024, allocations: 3.938 kB / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.00703, allocations: 0 / 411 MB, free: 14.1 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.0003857/0.007415, allocations: 343.4 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.007471, allocations: 8.031 kB / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.007533, allocations: 30.75 kB / 411.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.007563, allocations: 0.9375 kB / 411.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/0.007634, allocations: 109.8 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.007645, allocations: 4.312 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.007653, allocations: 4.312 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.00777, allocations: 63.95 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.007779, allocations: 4.172 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.00779, allocations: 4.125 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.007795, allocations: 0 / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.007827, allocations: 29.7 kB / 411.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.008068, allocations: 200 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.008136, allocations: 52.25 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.008164, allocations: 38.62 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.008177, allocations: 7.938 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.008225, allocations: 64.25 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.008227, allocations: 3.938 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.008473, allocations: 118.8 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.008532, allocations: 81.09 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.00857, allocations: 97.8 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.008583, allocations: 25.7 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.008611, allocations: 80.14 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.008643, allocations: 8.078 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.008671, allocations: 13.72 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.008781, allocations: 314.8 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.008814, allocations: 29.7 kB / 412.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.008835, allocations: 29.69 kB / 412.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.009354, allocations: 68.27 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.009359, allocations: 4 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.009463, allocations: 93.05 kB / 412.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.009509, allocations: 37.69 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.009518, allocations: 4.094 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.009536, allocations: 0 / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.00957, allocations: 3.938 kB / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.009578, allocations: 0 / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.009597, allocations: 0 / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.009607, allocations: 0 / 412.9 MB, free: 11.86 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 8.572e-05/0.009693, allocations: 135.5 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.009709, allocations: 3.938 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.009734, allocations: 7.156 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.009737, allocations: 0 / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.009746, allocations: 7.984 kB / 413 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009749, allocations: 0 / 413 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.01001, allocations: 297.1 kB / 413.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01001, allocations: 0 / 413.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.01002, allocations: 0 / 413.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01002, allocations: 3.938 kB / 413.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01003, allocations: 3.938 kB / 413.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01003, allocations: 0 / 413.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01003, allocations: 4 kB / 413.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.01015, allocations: 190.9 kB / 413.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01016, allocations: 12 kB / 413.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.01018, allocations: 3.938 kB / 413.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.01021, allocations: 0 / 413.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.01023, allocations: 3.984 kB / 413.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01024, allocations: 4 kB / 413.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.01028, allocations: 79.28 kB / 413.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01028, allocations: 0 / 413.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004653/0.01074, allocations: 123.6 kB / 413.8 MB, free: 10.9 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.001131/0.01187, allocations: 0.9822 MB / 414.7 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01203, allocations: 114.8 kB / 414.8 MB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01203, allocations: 0 / 414.8 MB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.01207, allocations: 85.09 kB / 414.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.01222, allocations: 8 kB / 414.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.01304, allocations: 1.341 MB / 416.3 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.01308, allocations: 59.34 kB / 416.3 MB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.244e-05/0.0131, allocations: 3.938 kB / 416.3 MB, free: 8.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.01313, allocations: 16.48 kB / 416.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01313, allocations: 0 / 416.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.03747, allocations: 5.143 MB / 421.5 MB, free: 2.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.318, allocations: 11.98 kB / 421.5 MB, free: 2.879 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.5424266140908]