Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001063/0.001063, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002555, 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.001016/0.001016, allocations: 150 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002281, allocations: 475.5 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 1.004/1.004, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1654/1.169, allocations: 53.66 MB / 243.2 MB, free: 2.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1401/0.1401, allocations: 34.25 MB / 278.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0247/0.1648, allocations: 13.11 MB / 291.3 MB, free: 2.445 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.378e-06, allocations: 4 kB / 292.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.694e-05, allocations: 5.266 kB / 292.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.001931/0.001958, allocations: 0.528 MB / 293 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.002356, allocations: 227.2 kB / 293.2 MB, free: 500 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.002371, allocations: 0 / 293.2 MB, free: 500 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-06/0.002376, allocations: 0 / 293.2 MB, free: 500 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.352e-06/0.002377, allocations: 7.938 kB / 293.3 MB, free: 492 kB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:289:3-320: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.0001968/0.002574, allocations: 51.81 kB / 293.3 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.002631, allocations: 0 / 293.3 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.002672, allocations: 4 kB / 293.3 MB, free: 436 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.002706, allocations: 0 / 293.3 MB, free: 436 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.002745, allocations: 3.938 kB / 293.3 MB, free: 432 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.002753, allocations: 0 / 293.3 MB, free: 432 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.002899, allocations: 47.95 kB / 293.4 MB, free: 384 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.002907, allocations: 0 / 293.4 MB, free: 384 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.002921, allocations: 0 / 293.4 MB, free: 384 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.003045, allocations: 47.83 kB / 293.4 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.00306, allocations: 4 kB / 293.4 MB, free: 332 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003061, allocations: 0 / 293.4 MB, free: 332 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.003076, allocations: 0 / 293.4 MB, free: 332 kB / 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.000293/0.003369, allocations: 254.3 kB / 293.7 MB, free: 44 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.003408, allocations: 8.031 kB / 293.7 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.003451, allocations: 34.69 kB / 293.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.003481, allocations: 8.922 kB / 293.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.256e-05/0.003543, allocations: 105.7 kB / 293.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.003558, allocations: 384 / 293.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.003564, allocations: 384 / 293.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.687e-05/0.003641, allocations: 59.97 kB / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.003652, allocations: 192 / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-06/0.003657, allocations: 384 / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003664, allocations: 4.125 kB / 293.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.003684, allocations: 33.69 kB / 293.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.83e-05/0.003783, allocations: 80.5 kB / 294 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.003839, allocations: 48.22 kB / 294 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.003861, allocations: 38.61 kB / 294.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-06/0.003866, allocations: 0 / 294.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.003912, allocations: 60.27 kB / 294.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003913, allocations: 0 / 294.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.004062, allocations: 122.7 kB / 294.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.004107, allocations: 77.11 kB / 294.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.004146, allocations: 89.86 kB / 294.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.00416, allocations: 33.64 kB / 294.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.004184, allocations: 80.14 kB / 294.5 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.004201, allocations: 0 / 294.5 MB, free: 15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.004236, allocations: 17.7 kB / 294.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004338, allocations: 314.8 kB / 294.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.004361, allocations: 25.7 kB / 294.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.00438, allocations: 33.83 kB / 294.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.004436, allocations: 60.27 kB / 295 MB, free: 14.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004438, allocations: 0 / 295 MB, free: 14.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.88e-05/0.004517, allocations: 93.03 kB / 295.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.004569, allocations: 33.7 kB / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.004574, allocations: 0 / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.004587, allocations: 0 / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-06/0.004592, allocations: 0 / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.004594, allocations: 0 / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.004616, allocations: 3.938 kB / 295.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.004625, allocations: 4.094 kB / 295.1 MB, free: 14.36 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: 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.767e-05/0.004712, allocations: 143.5 kB / 295.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.004721, allocations: 0 / 295.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.151e-05/0.004732, allocations: 7 kB / 295.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004734, allocations: 0 / 295.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004735, allocations: 0 / 295.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004738, allocations: 0 / 295.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.057e-05/0.004798, allocations: 81.28 kB / 295.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.004801, allocations: 7.984 kB / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.004802, allocations: 0 / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.004805, allocations: 0 / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.00481, allocations: 8 kB / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.004811, allocations: 0 / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004812, allocations: 0 / 295.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.004906, allocations: 120.4 kB / 295.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.004911, allocations: 0 / 295.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.004923, allocations: 0 / 295.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.004931, allocations: 0 / 295.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.004942, allocations: 8 kB / 295.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.004946, allocations: 0 / 295.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.294e-06/0.004953, allocations: 8.797 kB / 295.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004953, allocations: 4.031 kB / 295.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.00516, allocations: 19.92 kB / 295.5 MB, free: 13.88 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.0006634/0.005823, allocations: 0.5906 MB / 296.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.005942, allocations: 123.7 kB / 296.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.005947, allocations: 0 / 296.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.005984, allocations: 93.89 kB / 296.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.877e-05/0.006043, allocations: 0 / 296.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.006315, allocations: 153.5 kB / 296.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.00635, allocations: 51.48 kB / 296.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.743e-06/0.006357, allocations: 4 kB / 296.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.006404, allocations: 59.34 kB / 296.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.006405, allocations: 0 / 296.6 MB, free: 12.72 MB / 298.7 MB Notification: FMU-only work: backend 0.0001237, simCode 3.597e-05, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/0.1026, allocations: 3.777 MB / 300.3 MB, free: 9.215 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.928/3.031, allocations: 18.03 kB / 300.4 MB, free: 9.207 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile.fmu) > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler.fmu) > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.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_1_0_ModelicaTest_Utilities_TestWriteFile.fmu) > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv: Error: Error opening file: ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.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_1_0_ModelicaTest_Utilities_TestWriteFile_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: ModelicaTest_4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.1.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.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0/ModelicaTest/Utilities/TestWriteFile/TestWriteFile.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 5.75940000731498]