Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00102/0.00102, allocations: 115.4 kB / 20.43 MB, free: 4.594 MB / 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.0009947/0.0009947, allocations: 213.5 kB / 23.73 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.999/0.999, allocations: 230.6 MB / 257.5 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1517/0.1517, allocations: 46.96 MB / 360.9 MB, free: 3.172 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FirstOrderHold,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 79.86 kB / 0.4976 GB, free: 6.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 66.03 MB / 0.5621 GB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.00204/0.1311, allocations: 1.536 MB / 0.5636 GB, free: 3.164 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.1318, allocations: 0.526 MB / 0.5641 GB, free: 2.633 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.1319, allocations: 3.938 kB / 0.5641 GB, free: 2.629 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1319, allocations: 3.938 kB / 0.5641 GB, free: 2.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.132, allocations: 11.88 kB / 0.5641 GB, free: 2.613 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1322, allocations: 55.81 kB / 0.5642 GB, free: 2.559 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1323, allocations: 87.77 kB / 0.5643 GB, free: 2.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1324, allocations: 11.97 kB / 0.5643 GB, free: 2.461 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1326, allocations: 51.78 kB / 0.5643 GB, free: 2.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.1327, allocations: 43.83 kB / 0.5644 GB, free: 2.367 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1327, allocations: 8 kB / 0.5644 GB, free: 2.359 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.1327, allocations: 8 kB / 0.5644 GB, free: 2.352 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.1327, allocations: 23.86 kB / 0.5644 GB, free: 2.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.1328, allocations: 31.86 kB / 0.5644 GB, free: 2.297 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1329, allocations: 87.62 kB / 0.5645 GB, free: 2.211 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1329, allocations: 0 / 0.5645 GB, free: 2.211 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1329, allocations: 0 / 0.5645 GB, free: 2.211 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1329, allocations: 4 kB / 0.5645 GB, free: 2.207 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.0004607/0.1334, allocations: 334 kB / 0.5649 GB, free: 1.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1334, allocations: 12.03 kB / 0.5649 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.1335, allocations: 30.75 kB / 0.5649 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.676e-05/0.1336, allocations: 20.88 kB / 0.5649 GB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1337, allocations: 138.3 kB / 0.565 GB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1337, allocations: 4.375 kB / 0.5651 GB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1337, allocations: 8.375 kB / 0.5651 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1339, allocations: 93.77 kB / 0.5652 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1339, allocations: 0 / 0.5652 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1339, allocations: 11.94 kB / 0.5652 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1339, allocations: 0 / 0.5652 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.134, allocations: 43.97 kB / 0.5652 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.1344, allocations: 299.7 kB / 0.5655 GB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1345, allocations: 78.55 kB / 0.5656 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.1346, allocations: 44.83 kB / 0.5656 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1346, allocations: 0 / 0.5656 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.1347, allocations: 95.36 kB / 0.5657 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.1347, allocations: 0 / 0.5657 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003024/0.135, allocations: 197.6 kB / 0.5659 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.135, allocations: 63.39 kB / 0.5659 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.1351, allocations: 121.8 kB / 0.5661 GB, free: 492 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1351, allocations: 33.7 kB / 0.5661 GB, free: 452 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1352, allocations: 96.36 kB / 0.5662 GB, free: 348 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1352, allocations: 35.75 kB / 0.5662 GB, free: 312 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1352, allocations: 37.7 kB / 0.5663 GB, free: 268 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.2181/0.3533, allocations: 322.6 kB / 0.5666 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3535, allocations: 34.38 kB / 0.5666 GB, free: 15.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3536, allocations: 75.14 kB / 0.5667 GB, free: 15.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.3538, allocations: 121.5 kB / 0.5668 GB, free: 15.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3538, allocations: 1.062 kB / 0.5668 GB, free: 15.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002718/0.354, allocations: 161.5 kB / 0.5669 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3541, allocations: 8.438 kB / 0.5669 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3541, allocations: 4.609 kB / 0.567 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3541, allocations: 3.141 kB / 0.567 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3542, allocations: 26.8 kB / 0.567 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3542, allocations: 3.625 kB / 0.567 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.3542, allocations: 10.78 kB / 0.567 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3543, allocations: 8.688 kB / 0.567 GB, free: 15.8 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 7.503e-05/0.3543, allocations: 131.5 kB / 0.5671 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.3544, allocations: 12.53 kB / 0.5671 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.3544, allocations: 11.88 kB / 0.5672 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3544, allocations: 9.984 kB / 0.5672 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3544, allocations: 0 / 0.5672 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3544, allocations: 2.109 kB / 0.5672 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.3548, allocations: 419 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3548, allocations: 1 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.3548, allocations: 8.75 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3548, allocations: 1.688 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3548, allocations: 7 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3548, allocations: 1.969 kB / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3548, allocations: 0 / 0.5676 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.355, allocations: 267.3 kB / 0.5678 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.355, allocations: 7.172 kB / 0.5678 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.355, allocations: 3.734 kB / 0.5678 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.3551, allocations: 8.266 kB / 0.5679 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3551, allocations: 12.19 kB / 0.5679 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3552, allocations: 6.578 kB / 0.5679 GB, free: 15.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.539e-05/0.3552, allocations: 94.75 kB / 0.568 GB, free: 15.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 2.516 kB / 0.568 GB, free: 15.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.3553, allocations: 26.83 kB / 0.568 GB, free: 15.17 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.000294/0.3556, allocations: 0.8089 MB / 0.5688 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.3558, allocations: 102.7 kB / 0.5689 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3558, allocations: 0 / 0.5689 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.3559, allocations: 51.55 kB / 0.5689 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.3561, allocations: 14.91 kB / 0.5689 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.357, allocations: 1.665 MB / 0.5706 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.3571, allocations: 80.67 kB / 0.5706 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3571, allocations: 15.36 kB / 0.5707 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.3572, allocations: 23.97 kB / 0.5707 GB, free: 12.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3572, allocations: 0 / 0.5707 GB, free: 12.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06853/0.4257, allocations: 2.927 MB / 0.5735 GB, free: 12.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.262, allocations: 15.53 kB / 0.5736 GB, free: 12.05 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_Blocks_FirstOrderHold_OMSimulator-cs-euler.fmu) > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.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_1_0_ModelicaTest_Blocks_FirstOrderHold.fmu) > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.21645146701485]