Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.0007629/0.0007629, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001811, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.0007655/0.0007655, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009731/0.001739, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8532/0.8532, allocations: 177.1 MB / 189.5 MB, free: 3.727 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1544/1.008, allocations: 53.65 MB / 243.2 MB, free: 2.336 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.8 MB / 276.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02042/0.1497, allocations: 12.53 MB / 289.3 MB, free: 4.441 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 290.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.042e-05, allocations: 9.406 kB / 290.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001238/0.001259, allocations: 0.5558 MB / 291.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.003368, allocations: 2.299 MB / 293.4 MB, free: 336 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.09e-05/0.003379, allocations: 0 / 293.4 MB, free: 336 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.426e-06/0.003382, allocations: 4 kB / 293.4 MB, free: 332 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.003383, allocations: 0 / 293.4 MB, free: 332 kB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:1098:5-1194:31:writable] Warning: Pure function 'ModelicaTest.Math.Random.truncatedDistributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.004313, allocations: 0.5253 MB / 293.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.927e-05/0.004352, allocations: 4 kB / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.00438, allocations: 7.984 kB / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.004404, allocations: 4 kB / 293.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.518e-05/0.004419, allocations: 0 / 293.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.004425, allocations: 4 kB / 293.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.00521, allocations: 0.725 MB / 294.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-06/0.005216, allocations: 0 / 294.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.101e-05/0.005227, allocations: 4 kB / 294.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.005656, allocations: 426.9 kB / 295 MB, free: 14.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.005664, allocations: 4 kB / 295.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005665, allocations: 0 / 295.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.005673, allocations: 0 / 295.1 MB, free: 14.62 MB / 298.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.0002644/0.005937, allocations: 349.3 kB / 295.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.005966, allocations: 8.031 kB / 295.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.006001, allocations: 30.75 kB / 295.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.624e-05/0.006017, allocations: 0.9375 kB / 295.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.333e-05/0.00606, allocations: 113.8 kB / 295.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.006069, allocations: 384 / 295.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-06/0.006073, allocations: 384 / 295.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.484e-05/0.006128, allocations: 67.91 kB / 295.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.006135, allocations: 4.172 kB / 295.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.00614, allocations: 8.125 kB / 295.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.006143, allocations: 0 / 295.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.415e-05/0.006157, allocations: 29.69 kB / 295.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.006276, allocations: 159.8 kB / 295.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.006317, allocations: 48.22 kB / 295.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.006337, allocations: 38.61 kB / 295.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.006342, allocations: 0 / 295.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.006376, allocations: 68.27 kB / 296 MB, free: 13.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.006377, allocations: 0 / 296 MB, free: 13.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 9.689e-05/0.006474, allocations: 122.7 kB / 296.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.006501, allocations: 77.11 kB / 296.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.443e-05/0.006526, allocations: 93.84 kB / 296.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.006535, allocations: 29.7 kB / 296.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.006556, allocations: 84.08 kB / 296.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.006565, allocations: 3.953 kB / 296.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.006584, allocations: 13.72 kB / 296.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.006649, allocations: 314.8 kB / 296.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.006661, allocations: 33.83 kB / 296.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.006672, allocations: 29.7 kB / 296.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.006705, allocations: 64.27 kB / 296.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006706, allocations: 0 / 296.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.735e-05/0.006754, allocations: 89.09 kB / 296.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.006779, allocations: 29.7 kB / 296.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006783, allocations: 3.938 kB / 296.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.00679, allocations: 0 / 296.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.006804, allocations: 3.938 kB / 296.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006806, allocations: 12.09 kB / 296.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.006818, allocations: 0 / 296.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.006825, allocations: 3.984 kB / 296.9 MB, free: 12.45 MB / 298.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 4.796e-05/0.006873, allocations: 135.5 kB / 297.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.006885, allocations: 0 / 297.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.006898, allocations: 11.09 kB / 297.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006899, allocations: 0 / 297.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0069, allocations: 4 kB / 297.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.006902, allocations: 0 / 297.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.007029, allocations: 253.6 kB / 297.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.00703, allocations: 8.016 kB / 297.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.007034, allocations: 3.938 kB / 297.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007036, allocations: 3.938 kB / 297.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-06/0.007038, allocations: 0 / 297.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007039, allocations: 0 / 297.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00704, allocations: 0 / 297.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.078e-05/0.0071, allocations: 183 kB / 297.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.007105, allocations: 7.938 kB / 297.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.007113, allocations: 0 / 297.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.007134, allocations: 3.938 kB / 297.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.007144, allocations: 4.031 kB / 297.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.007146, allocations: 8 kB / 297.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.799e-06/0.007151, allocations: 4.859 kB / 297.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007151, allocations: 0 / 297.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.00743, allocations: 163.4 kB / 297.7 MB, free: 11.58 MB / 298.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.0006283/0.008058, allocations: 0.8676 MB / 298.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.008136, allocations: 119.7 kB / 298.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008138, allocations: 0 / 298.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.008166, allocations: 93.97 kB / 298.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.193e-05/0.008248, allocations: 3.938 kB / 298.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.008734, allocations: 0.833 MB / 299.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.00876, allocations: 55.34 kB / 299.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.907e-06/0.008769, allocations: 0 / 299.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.008802, allocations: 59.53 kB / 299.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008803, allocations: 0 / 299.7 MB, free: 9.395 MB / 298.7 MB Notification: FMU-only work: backend 0.0001169, simCode 0.0002704, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08621/0.09502, allocations: 7.628 MB / 307.4 MB, free: 2.031 MB / 298.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.88/2.975, allocations: 17.8 kB / 307.4 MB, free: 2.02 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv --output-variables result --start-time 0 --stop-time 0 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 0 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 1 ../ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 5.617662575095892]