Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.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.001247/0.001247, allocations: 104.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001185/0.001185, allocations: 213.3 kB / 23 MB, free: 2.977 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8954/0.8954, allocations: 207.7 MB / 233.8 MB, free: 11.46 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.24 MB / 330.3 MB, free: 13.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 79.83 kB / 469 MB, free: 27.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09702, allocations: 61.04 MB / 0.5177 GB, free: 440 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002143/0.09916, allocations: 1.523 MB / 0.5191 GB, free: 14.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.09983, allocations: 0.4957 MB / 0.5196 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.09987, allocations: 3.938 kB / 0.5196 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.0999, allocations: 7.922 kB / 0.5196 GB, free: 14.38 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.09998, allocations: 15.86 kB / 0.5197 GB, free: 14.36 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1002, allocations: 35.91 kB / 0.5197 GB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1003, allocations: 91.69 kB / 0.5198 GB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1004, allocations: 11.97 kB / 0.5198 GB, free: 14.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1006, allocations: 43.8 kB / 0.5198 GB, free: 14.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.1006, allocations: 43.81 kB / 0.5199 GB, free: 14.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1007, allocations: 8 kB / 0.5199 GB, free: 14.13 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.1007, allocations: 8 kB / 0.5199 GB, free: 14.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.1007, allocations: 19.98 kB / 0.5199 GB, free: 14.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.1007, allocations: 31.84 kB / 0.5199 GB, free: 14.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1009, allocations: 75.66 kB / 0.52 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1009, allocations: 0 / 0.52 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1009, allocations: 0 / 0.52 GB, free: 14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1009, allocations: 0 / 0.52 GB, free: 14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000508/0.1014, allocations: 326.1 kB / 0.5203 GB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1014, allocations: 8.031 kB / 0.5203 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.1015, allocations: 38.73 kB / 0.5204 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1015, allocations: 8.891 kB / 0.5204 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.1016, allocations: 122.4 kB / 0.5205 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1016, allocations: 8.312 kB / 0.5205 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1016, allocations: 16.36 kB / 0.5205 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1018, allocations: 77.78 kB / 0.5206 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1018, allocations: 0 / 0.5206 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1018, allocations: 15.98 kB / 0.5206 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1018, allocations: 0 / 0.5206 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.1019, allocations: 43.92 kB / 0.5206 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1023, allocations: 275.8 kB / 0.5209 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1024, allocations: 78.53 kB / 0.521 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1024, allocations: 44.83 kB / 0.521 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1025, allocations: 224 / 0.521 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.1026, allocations: 119.3 kB / 0.5211 GB, free: 12.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1026, allocations: 0 / 0.5211 GB, free: 12.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002917/0.1029, allocations: 185.6 kB / 0.5213 GB, free: 12.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1029, allocations: 55.41 kB / 0.5214 GB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.103, allocations: 113.8 kB / 0.5215 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.103, allocations: 33.7 kB / 0.5215 GB, free: 12.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.103, allocations: 92.36 kB / 0.5216 GB, free: 12.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1031, allocations: 39.73 kB / 0.5216 GB, free: 12.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1031, allocations: 33.72 kB / 0.5217 GB, free: 12.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.1032, allocations: 330.8 kB / 0.522 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1032, allocations: 35.97 kB / 0.522 GB, free: 11.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.1033, allocations: 81.06 kB / 0.5221 GB, free: 11.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1034, allocations: 113.1 kB / 0.5222 GB, free: 11.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1034, allocations: 4 kB / 0.5222 GB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001615/0.1036, allocations: 161.4 kB / 0.5224 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1036, allocations: 4 kB / 0.5224 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1036, allocations: 0 / 0.5224 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1036, allocations: 7.938 kB / 0.5224 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.1037, allocations: 27.92 kB / 0.5224 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1037, allocations: 0 / 0.5224 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.1037, allocations: 15.89 kB / 0.5224 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1037, allocations: 12.36 kB / 0.5224 GB, free: 11.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (firstOrderHold.firstTrigger,$PRE.firstOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.ySample,zeroOrderHold.sampleTrigger,$whenCondition1,firstOrderHold.sampleTrigger,$whenCondition2,firstOrderHold.c,$PRE.firstOrderHold.c,firstOrderHold.pre_uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.uSample,$PRE.firstOrderHold.uSample,firstOrderHold.tSample,$PRE.firstOrderHold.tSample,zeroOrderHold.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7.757e-05/0.1038, allocations: 127.9 kB / 0.5225 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.1038, allocations: 7.953 kB / 0.5226 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.1039, allocations: 16.44 kB / 0.5226 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1039, allocations: 11.88 kB / 0.5226 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1039, allocations: 0 / 0.5226 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1039, allocations: 3.984 kB / 0.5226 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1042, allocations: 409.5 kB / 0.523 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1042, allocations: 0 / 0.523 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.1043, allocations: 7.984 kB / 0.523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1043, allocations: 8 kB / 0.523 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1043, allocations: 0 / 0.523 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1043, allocations: 0 / 0.523 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1043, allocations: 0 / 0.523 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1044, allocations: 263.4 kB / 0.5232 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.1045, allocations: 7.891 kB / 0.5232 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1045, allocations: 7.984 kB / 0.5233 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.1045, allocations: 8 kB / 0.5233 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.1046, allocations: 11.92 kB / 0.5233 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1046, allocations: 7.984 kB / 0.5233 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.1046, allocations: 95.27 kB / 0.5234 GB, free: 10.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1046, allocations: 3.938 kB / 0.5234 GB, free: 10.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.1048, allocations: 24 kB / 0.5234 GB, free: 10.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (firstOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,$whenCondition2,$whenCondition1,zeroOrderHold.firstTrigger,zeroOrderHold.ySample,firstOrderHold.firstTrigger,firstOrderHold.tSample,firstOrderHold.uSample,firstOrderHold.pre_uSample,firstOrderHold.c) * Number of discrete states: 3 (zeroOrderHold.ySample,firstOrderHold.uSample,firstOrderHold.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0003967/0.1052, allocations: 0.7989 MB / 0.5242 GB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1053, allocations: 99.89 kB / 0.5243 GB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1053, allocations: 0 / 0.5243 GB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1054, allocations: 52.34 kB / 0.5243 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1056, allocations: 12.25 kB / 0.5243 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1068, allocations: 1.642 MB / 0.5259 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.1068, allocations: 79.81 kB / 0.526 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.1069, allocations: 16.97 kB / 0.526 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1069, allocations: 27.42 kB / 0.5261 GB, free: 7.332 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1069, allocations: 3.938 kB / 0.5261 GB, free: 7.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06856/0.1755, allocations: 2.865 MB / 0.5289 GB, free: 4.457 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.817, allocations: 11.34 kB / 0.5289 GB, free: 4.449 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,period,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.diff.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.diff.ref.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode.fmu) > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,period,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.diff.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.diff.ref.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler.fmu) > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,period,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.diff.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.diff.ref.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv --output-variables firstOrderHold.c firstOrderHold.firstTrigger firstOrderHold.pre_uSample firstOrderHold.tSample firstOrderHold.uSample zeroOrderHold.firstTrigger zeroOrderHold.ySample --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000396747 ../ModelicaTest_3_2_3_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:time,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.diff.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_fmpy.diff.ref.mat", vars={"zeroOrderHold.firstTrigger", "firstOrderHold.uSample", "firstOrderHold.tSample", "firstOrderHold.pre_uSample", "firstOrderHold.firstTrigger", "firstOrderHold.c"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 13.213854909874499]