Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009893/0.0009893, allocations: 119 kB / 20.44 MB, free: 4.199 MB / 18.57 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.001076/0.001076, allocations: 205.6 kB / 23.73 MB, free: 0.9102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9867/0.9867, allocations: 230.6 MB / 257.5 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1369/0.1369, allocations: 44.93 MB / 358.9 MB, free: 5.074 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001382/0.001382, allocations: 83.86 kB / 0.4946 GB, free: 9.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08821, allocations: 65.47 MB / 0.5585 GB, free: 8.074 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.001759/0.08997, allocations: 1.536 MB / 0.56 GB, free: 6.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006066/0.09057, allocations: 0.5182 MB / 0.5605 GB, free: 6.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.09062, allocations: 0 / 0.5605 GB, free: 6.008 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.09065, allocations: 7.875 kB / 0.5605 GB, free: 6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.09072, allocations: 11.88 kB / 0.5605 GB, free: 5.988 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.09093, allocations: 51.88 kB / 0.5606 GB, free: 5.938 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.09104, allocations: 91.69 kB / 0.5606 GB, free: 5.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.09113, allocations: 15.98 kB / 0.5607 GB, free: 5.832 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.09125, allocations: 47.83 kB / 0.5607 GB, free: 5.785 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.09131, allocations: 35.84 kB / 0.5607 GB, free: 5.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.09132, allocations: 8 kB / 0.5607 GB, free: 5.742 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.648e-05/0.09136, allocations: 19.94 kB / 0.5608 GB, free: 5.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.09138, allocations: 11.98 kB / 0.5608 GB, free: 5.711 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.09141, allocations: 35.84 kB / 0.5608 GB, free: 5.676 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.09153, allocations: 79.64 kB / 0.5609 GB, free: 5.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09153, allocations: 7.938 kB / 0.5609 GB, free: 5.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09153, allocations: 0 / 0.5609 GB, free: 5.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.09154, allocations: 0 / 0.5609 GB, free: 5.59 MB / 426.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.0004279/0.09196, allocations: 334 kB / 0.5612 GB, free: 5.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.092, allocations: 19.97 kB / 0.5612 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.09203, allocations: 34.75 kB / 0.5613 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.09213, allocations: 20.88 kB / 0.5613 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.09226, allocations: 130.4 kB / 0.5614 GB, free: 5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.09228, allocations: 8.375 kB / 0.5614 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.09229, allocations: 12.31 kB / 0.5614 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.09243, allocations: 105.6 kB / 0.5615 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.09243, allocations: 0 / 0.5615 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.09244, allocations: 8 kB / 0.5615 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.09245, allocations: 3.984 kB / 0.5615 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.09253, allocations: 43.97 kB / 0.5616 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.09297, allocations: 291.8 kB / 0.5619 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.09311, allocations: 78.53 kB / 0.5619 GB, free: 4.406 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.09317, allocations: 56.92 kB / 0.562 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.09318, allocations: 0 / 0.562 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.0933, allocations: 99.36 kB / 0.5621 GB, free: 4.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 8.11e-07/0.0933, allocations: 0 / 0.5621 GB, free: 4.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002834/0.09359, allocations: 189.7 kB / 0.5623 GB, free: 4.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.09362, allocations: 63.39 kB / 0.5623 GB, free: 3.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.09368, allocations: 121.8 kB / 0.5624 GB, free: 3.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.09369, allocations: 33.7 kB / 0.5625 GB, free: 3.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.09373, allocations: 96.36 kB / 0.5626 GB, free: 3.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.09376, allocations: 39.73 kB / 0.5626 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.09379, allocations: 37.7 kB / 0.5626 GB, free: 3.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.09386, allocations: 326.8 kB / 0.563 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.09391, allocations: 35.97 kB / 0.563 GB, free: 3.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.09398, allocations: 76.27 kB / 0.5631 GB, free: 3.168 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.0941, allocations: 120.2 kB / 0.5632 GB, free: 3.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0941, allocations: 0 / 0.5632 GB, free: 3.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001605/0.09427, allocations: 165.1 kB / 0.5633 GB, free: 2.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.09428, allocations: 4 kB / 0.5633 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09428, allocations: 0 / 0.5633 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.09429, allocations: 4 kB / 0.5633 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.09436, allocations: 27.92 kB / 0.5634 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.09436, allocations: 8.062 kB / 0.5634 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.09439, allocations: 11.95 kB / 0.5634 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.0944, allocations: 11.98 kB / 0.5634 GB, free: 2.805 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (firstOrderHold.firstTrigger,$PRE.firstOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,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,$PRE.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 6.58e-05/0.09447, allocations: 123.8 kB / 0.5635 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.09448, allocations: 7.953 kB / 0.5635 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.0945, allocations: 12.44 kB / 0.5635 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0945, allocations: 3.938 kB / 0.5635 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.09451, allocations: 0 / 0.5635 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.09451, allocations: 3.984 kB / 0.5635 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.09483, allocations: 421.4 kB / 0.5639 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09483, allocations: 3.938 kB / 0.5639 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.09485, allocations: 4 kB / 0.564 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.09486, allocations: 4 kB / 0.564 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.09487, allocations: 11.92 kB / 0.564 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.09487, allocations: 0 / 0.564 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.09487, allocations: 3.938 kB / 0.564 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.09506, allocations: 259.5 kB / 0.5642 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.09507, allocations: 11.89 kB / 0.5642 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.09508, allocations: 11.98 kB / 0.5642 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.09513, allocations: 11.98 kB / 0.5643 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.09517, allocations: 15.97 kB / 0.5643 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.09518, allocations: 4 kB / 0.5643 GB, free: 1.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.09521, allocations: 91.27 kB / 0.5644 GB, free: 1.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09521, allocations: 0 / 0.5644 GB, free: 1.738 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000161/0.09537, allocations: 24 kB / 0.5644 GB, free: 1.715 MB / 426.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.0003297/0.0957, allocations: 0.806 MB / 0.5652 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.09586, allocations: 107.5 kB / 0.5653 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.09586, allocations: 0 / 0.5653 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.09593, allocations: 47.91 kB / 0.5653 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.09611, allocations: 11.98 kB / 0.5653 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1569/0.253, allocations: 1.664 MB / 0.567 GB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.2531, allocations: 77.91 kB / 0.567 GB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.2531, allocations: 10.52 kB / 0.567 GB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.2532, allocations: 29.33 kB / 0.5671 GB, free: 16.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2532, allocations: 0.8438 kB / 0.5671 GB, free: 16.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07128/0.3244, allocations: 2.917 MB / 0.5699 GB, free: 15.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.7, allocations: 14.36 kB / 0.5699 GB, free: 15.94 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.0.0_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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.0.0_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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.0.0_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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.237553801387548]