Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.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.001119/0.001119, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002693, 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.0009603/0.0009603, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001994, 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.9136/0.9136, allocations: 177.1 MB / 189.5 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1554/1.069, allocations: 53.66 MB / 243.2 MB, free: 2.359 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.1318/0.1318, allocations: 32.8 MB / 276.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01932/0.1511, allocations: 12.54 MB / 289.3 MB, free: 4.457 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.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 290.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.783e-05, allocations: 5.125 kB / 290.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.001949/0.001977, allocations: 0.5363 MB / 291 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.002381, allocations: 219.3 kB / 291.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.002396, allocations: 0 / 291.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.228e-06/0.002401, allocations: 4 kB / 291.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.102e-06/0.002402, allocations: 0 / 291.2 MB, free: 2.5 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:290:3-321:16:writable] Warning: Pure function 'ModelicaTest.Utilities.WriteFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.002615, allocations: 47.75 kB / 291.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.002678, allocations: 0 / 291.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.002716, allocations: 4 kB / 291.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.002748, allocations: 0 / 291.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.002783, allocations: 11.94 kB / 291.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.00279, allocations: 0 / 291.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.002946, allocations: 43.95 kB / 291.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.002953, allocations: 0 / 291.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.002968, allocations: 0 / 291.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003092, allocations: 51.83 kB / 291.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.003104, allocations: 0 / 291.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003106, allocations: 0 / 291.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.003119, allocations: 4 kB / 291.4 MB, free: 2.34 MB / 282.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.0002817/0.0034, allocations: 246.3 kB / 291.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.00344, allocations: 8.031 kB / 291.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.003469, allocations: 34.75 kB / 291.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.003496, allocations: 4.938 kB / 291.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.656e-05/0.003563, allocations: 109.7 kB / 291.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.003578, allocations: 384 / 291.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-06/0.003584, allocations: 384 / 291.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.003661, allocations: 63.84 kB / 291.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.003673, allocations: 192 / 291.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.003677, allocations: 384 / 291.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003684, allocations: 4.125 kB / 291.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.003706, allocations: 37.69 kB / 291.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.003819, allocations: 84.47 kB / 292 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/0.003866, allocations: 44.28 kB / 292 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.003885, allocations: 34.66 kB / 292.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-06/0.003889, allocations: 0 / 292.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.003928, allocations: 60.2 kB / 292.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.003929, allocations: 0 / 292.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.004061, allocations: 114.8 kB / 292.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.004099, allocations: 77.11 kB / 292.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.004141, allocations: 93.86 kB / 292.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.004158, allocations: 29.7 kB / 292.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.004183, allocations: 84.27 kB / 292.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.004198, allocations: 0 / 292.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.004231, allocations: 13.72 kB / 292.5 MB, free: 1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.004318, allocations: 318.8 kB / 292.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.004337, allocations: 25.7 kB / 292.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.004354, allocations: 33.64 kB / 292.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.004401, allocations: 60.27 kB / 292.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004402, allocations: 0 / 292.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.148e-05/0.004474, allocations: 89.09 kB / 293 MB, free: 440 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.004513, allocations: 37.8 kB / 293.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004517, allocations: 0 / 293.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004529, allocations: 0 / 293.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-06/0.004534, allocations: 0 / 293.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.004536, allocations: 0 / 293.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.004555, allocations: 3.938 kB / 293.1 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.004564, allocations: 4 kB / 293.1 MB, free: 388 kB / 282.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.389e-05/0.004648, allocations: 139.5 kB / 293.2 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.004658, allocations: 7.938 kB / 293.2 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.004668, allocations: 7 kB / 293.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004671, allocations: 7.984 kB / 293.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.004673, allocations: 0 / 293.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004675, allocations: 3.938 kB / 293.2 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.838e-05/0.004723, allocations: 85.28 kB / 293.3 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004724, allocations: 0 / 293.3 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.004725, allocations: 0 / 293.3 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.004727, allocations: 3.984 kB / 293.3 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.004731, allocations: 0 / 293.3 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004732, allocations: 0 / 293.3 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004733, allocations: 0 / 293.3 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.303e-05/0.004816, allocations: 116.5 kB / 293.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.004821, allocations: 8.031 kB / 293.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.004831, allocations: 0 / 293.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.004839, allocations: 4 kB / 293.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-06/0.004847, allocations: 0 / 293.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.00485, allocations: 0 / 293.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.444e-06/0.004857, allocations: 8.797 kB / 293.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004857, allocations: 0 / 293.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.004981, allocations: 19.94 kB / 293.5 MB, free: 15.89 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0004942/0.005475, allocations: 0.6048 MB / 294.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.005572, allocations: 115.7 kB / 294.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.005575, allocations: 4.062 kB / 294.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.005602, allocations: 89.95 kB / 294.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.796e-05/0.00564, allocations: 0 / 294.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.005834, allocations: 161.5 kB / 294.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.468e-05/0.005858, allocations: 51.36 kB / 294.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.88e-06/0.005863, allocations: 0 / 294.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.005907, allocations: 55.36 kB / 294.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005908, allocations: 3.938 kB / 294.6 MB, free: 14.73 MB / 298.7 MB Notification: FMU-only work: backend 9.094e-05, simCode 2.728e-05, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.1104, allocations: 3.769 MB / 298.3 MB, free: 11.23 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.689/2.799, allocations: 15.78 kB / 298.3 MB, free: 11.22 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile.fmu) > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.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.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.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.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.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.Utilities.TestWriteFile_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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_Utilities_TestWriteFile.fmu) > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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.Utilities.TestWriteFile_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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/Utilities/TestWriteFile/TestWriteFile.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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_Utilities_TestWriteFile_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_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/Utilities/TestWriteFile/TestWriteFile.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 5.374409249052405]