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.001121/0.001121, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001086/0.001086, allocations: 166 kB / 23.95 MB, free: 0.6133 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 1.011/1.011, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.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.2743/0.2743, allocations: 32.8 MB / 293.5 MB, free: 1.184 MB / 266.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: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 441.1 MB, free: 2.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.219e-05, allocations: 4.25 kB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002312/0.002334, allocations: 1.534 MB / 442.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.003252, allocations: 0.5258 MB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.003328, allocations: 4 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.003365, allocations: 15.8 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.003465, allocations: 11.86 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.003746, allocations: 51.81 kB / 443.3 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.0039, allocations: 95.69 kB / 443.4 MB, free: 460 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004014, allocations: 7.984 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.004183, allocations: 63.81 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.004256, allocations: 31.89 kB / 443.5 MB, free: 356 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.004276, allocations: 12 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.004324, allocations: 12 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.00435, allocations: 19.92 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.004396, allocations: 31.89 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.004553, allocations: 87.75 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004555, allocations: 0 / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004556, allocations: 0 / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004561, allocations: 0 / 443.6 MB, free: 192 kB / 410.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.206/0.2106, allocations: 334.5 kB / 444 MB, free: 46.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2107, allocations: 11.72 kB / 444 MB, free: 46.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.2107, allocations: 34.75 kB / 444 MB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2108, allocations: 19.8 kB / 444 MB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.211, allocations: 128.2 kB / 444.1 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.211, allocations: 9.109 kB / 444.1 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.211, allocations: 8.469 kB / 444.2 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2112, allocations: 89.2 kB / 444.2 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2112, allocations: 1.125 kB / 444.2 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2112, allocations: 4.844 kB / 444.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2112, allocations: 3.938 kB / 444.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.2113, allocations: 47.97 kB / 444.3 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.2116, allocations: 288.1 kB / 444.6 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.2118, allocations: 81.52 kB / 444.7 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.2118, allocations: 45.7 kB / 444.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2119, allocations: 8.797 kB / 444.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.212, allocations: 107 kB / 444.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.212, allocations: 0 / 444.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002987/0.2123, allocations: 197.3 kB / 445 MB, free: 46.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2123, allocations: 58.28 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.2124, allocations: 124.2 kB / 445.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2124, allocations: 31.86 kB / 445.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.2124, allocations: 96.91 kB / 445.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.2125, allocations: 35.72 kB / 445.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.2125, allocations: 38.97 kB / 445.4 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.2125, allocations: 323.1 kB / 445.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.2126, allocations: 39.09 kB / 445.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.2127, allocations: 75.56 kB / 445.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2129, allocations: 124.9 kB / 445.9 MB, free: 45.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2129, allocations: 6.219 kB / 445.9 MB, free: 45.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000234/0.2131, allocations: 152.8 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2131, allocations: 7.781 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2131, allocations: 0 / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2132, allocations: 2.812 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2133, allocations: 21.16 kB / 446.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2133, allocations: 6.406 kB / 446.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.2133, allocations: 18.95 kB / 446.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2133, allocations: 8.875 kB / 446.2 MB, free: 45.61 MB / 410.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 8.059e-05/0.2134, allocations: 137.8 kB / 446.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.2134, allocations: 9.484 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.2135, allocations: 11.62 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2135, allocations: 2.625 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2135, allocations: 0 / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2135, allocations: 0 / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.2139, allocations: 429.7 kB / 446.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2139, allocations: 0 / 446.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.2139, allocations: 9.844 kB / 446.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.214, allocations: 2.844 kB / 446.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.214, allocations: 0 / 446.7 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.214, allocations: 6.969 kB / 446.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.214, allocations: 0 / 446.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.2142, allocations: 263.5 kB / 447 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.2142, allocations: 18.86 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.2143, allocations: 5.594 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.2144, allocations: 12.59 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2144, allocations: 9.938 kB / 447.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2144, allocations: 8.578 kB / 447.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.2145, allocations: 91.7 kB / 447.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2145, allocations: 0 / 447.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.2148, allocations: 22.53 kB / 447.2 MB, free: 44.87 MB / 410.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.0004011/0.2152, allocations: 0.8004 MB / 448 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2154, allocations: 105.3 kB / 448.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2154, allocations: 0 / 448.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.2155, allocations: 50.06 kB / 448.1 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2158, allocations: 16.94 kB / 448.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2173, allocations: 1.657 MB / 449.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.2174, allocations: 86.83 kB / 449.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.2174, allocations: 10.02 kB / 449.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.2175, allocations: 25.64 kB / 449.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2175, allocations: 0 / 449.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07355/0.291, allocations: 3.071 MB / 453 MB, free: 41.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.039, allocations: 12.28 kB / 453 MB, free: 41.65 MB / 410.7 MB " [Timeout remaining time 652] (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: 15.015860127285123]