Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008242/0.0008242, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001908, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008172/0.0008172, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002357, allocations: 475.5 kB / 11.67 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177.1 MB / 189.5 MB, free: 3.621 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1577/1.165, allocations: 53.74 MB / 243.3 MB, free: 2.074 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1326/0.1326, allocations: 34.87 MB / 278.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02327/0.1558, allocations: 13.23 MB / 292.1 MB, free: 1.57 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 293.3 MB, free: 380 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.892e-05, allocations: 10.25 kB / 293.3 MB, free: 368 kB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.001391/0.00141, allocations: 0.5274 MB / 293.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.001717, allocations: 231.2 kB / 294.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.00173, allocations: 0 / 294.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.107e-06/0.001734, allocations: 0 / 294.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.001735, allocations: 0 / 294.1 MB, free: 15.61 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:300:3-331: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.0001686/0.001904, allocations: 47.77 kB / 294.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.001958, allocations: 0 / 294.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.001994, allocations: 4 kB / 294.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.002024, allocations: 0 / 294.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.002053, allocations: 0 / 294.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.002061, allocations: 0 / 294.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.002189, allocations: 55.94 kB / 294.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.002196, allocations: 0 / 294.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.002209, allocations: 0 / 294.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.00231, allocations: 47.78 kB / 294.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.002322, allocations: 0 / 294.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002322, allocations: 0 / 294.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.002332, allocations: 0 / 294.2 MB, free: 15.45 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.0002455/0.002578, allocations: 258.3 kB / 294.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.002614, allocations: 8.625 kB / 294.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.002637, allocations: 30.75 kB / 294.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.002661, allocations: 8.938 kB / 294.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.038e-05/0.002711, allocations: 113.7 kB / 294.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.002722, allocations: 384 / 294.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-06/0.002727, allocations: 384 / 294.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.356e-05/0.00279, allocations: 59.91 kB / 294.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.002798, allocations: 192 / 294.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.00281, allocations: 384 / 294.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.002818, allocations: 4.125 kB / 294.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.002836, allocations: 29.7 kB / 294.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.147e-05/0.002928, allocations: 84.5 kB / 294.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.002971, allocations: 48.27 kB / 294.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.002988, allocations: 42.62 kB / 294.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.002991, allocations: 0 / 294.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.003025, allocations: 60.2 kB / 295 MB, free: 14.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003026, allocations: 0 / 295 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.003148, allocations: 114.8 kB / 295.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.003182, allocations: 77.11 kB / 295.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.684e-05/0.003209, allocations: 89.86 kB / 295.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003218, allocations: 29.7 kB / 295.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.003236, allocations: 84.08 kB / 295.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.003251, allocations: 128 / 295.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.003276, allocations: 21.7 kB / 295.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.003351, allocations: 318.8 kB / 295.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.003369, allocations: 25.7 kB / 295.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.003384, allocations: 29.7 kB / 295.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.003432, allocations: 68.2 kB / 295.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003434, allocations: 0 / 295.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.746e-05/0.003491, allocations: 85.09 kB / 295.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.003525, allocations: 33.7 kB / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.00353, allocations: 0 / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.003539, allocations: 4.094 kB / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-06/0.003543, allocations: 0 / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.003545, allocations: 0 / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.003563, allocations: 3.938 kB / 295.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.00357, allocations: 0 / 295.9 MB, free: 13.48 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 6.007e-05/0.003631, allocations: 139.5 kB / 296.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-06/0.003635, allocations: 0 / 296.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.003646, allocations: 7 kB / 296.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.003647, allocations: 3.938 kB / 296.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.003649, allocations: 0 / 296.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.003651, allocations: 4 kB / 296.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.751e-05/0.003698, allocations: 81.28 kB / 296.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.003705, allocations: 4 kB / 296.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.003705, allocations: 0 / 296.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.003706, allocations: 0 / 296.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.00371, allocations: 0 / 296.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.003711, allocations: 3.984 kB / 296.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.003713, allocations: 4 kB / 296.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.003785, allocations: 120.5 kB / 296.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.003788, allocations: 0 / 296.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.003798, allocations: 0 / 296.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-06/0.003803, allocations: 4.031 kB / 296.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.003812, allocations: 4 kB / 296.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.003815, allocations: 0 / 296.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.801e-06/0.00382, allocations: 4.859 kB / 296.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00382, allocations: 3.938 kB / 296.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.003942, allocations: 19.88 kB / 296.3 MB, free: 13 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.0005114/0.004454, allocations: 0.6008 MB / 296.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.004568, allocations: 111.7 kB / 297 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.004572, allocations: 0 / 297 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.004612, allocations: 98 kB / 297.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.996e-05/0.004672, allocations: 4 kB / 297.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.004891, allocations: 157.7 kB / 297.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.00492, allocations: 51.36 kB / 297.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.721e-06/0.004926, allocations: 0 / 297.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.004964, allocations: 51.38 kB / 297.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.004965, allocations: 0 / 297.4 MB, free: 11.84 MB / 298.7 MB Notification: FMU-only work: backend 0.0001068, simCode 2.964e-05, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/0.1273, allocations: 3.776 MB / 301.2 MB, free: 8.199 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.899/3.026, allocations: 19 kB / 301.2 MB, free: 8.184 MB / 298.7 MB " [Timeout remaining time 657] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile.fmu) > ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Utilities_TestWriteFile_OMSimulator-cs-euler.fmu) > ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_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_trunk_ModelicaTest_Utilities_TestWriteFile.fmu) > ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv: Error: Error opening file: ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_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_trunk_ModelicaTest_Utilities_TestWriteFile_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Utilities.TestWriteFile_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 5.754824440926313]