Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009294/0.0009294, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000906/0.000906, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9325/0.9325, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 34.85 MB / 295.6 MB, free: 448 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Discrete,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Discrete",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Discrete,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Discrete",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 444 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.164e-05, allocations: 4.391 kB / 444 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.1555/0.1555, allocations: 1.877 MB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.1563, allocations: 0.699 MB / 446.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1564, allocations: 3.938 kB / 446.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.1565, allocations: 50.44 kB / 446.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.1566, allocations: 68.78 kB / 446.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1569, allocations: 119.3 kB / 446.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.157, allocations: 290.8 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1572, allocations: 39.19 kB / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1573, allocations: 180.2 kB / 447.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1575, allocations: 159.9 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1575, allocations: 21.22 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.1576, allocations: 24.31 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.1576, allocations: 87.17 kB / 447.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.141e-05/0.1577, allocations: 81.41 kB / 447.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1579, allocations: 291.1 kB / 448 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.1579, allocations: 0 / 448 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1579, allocations: 7.094 kB / 448 MB, free: 41.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1579, allocations: 0 / 448 MB, free: 41.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006596/0.1585, allocations: 0.5643 MB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1586, allocations: 8.531 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.1586, allocations: 54.17 kB / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.1587, allocations: 42.2 kB / 448.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1589, allocations: 196.5 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1589, allocations: 29.98 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1589, allocations: 22.59 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.1592, allocations: 240.1 kB / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1592, allocations: 192 / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1592, allocations: 11.08 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1592, allocations: 5.625 kB / 449.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1594, allocations: 136.9 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1599, allocations: 496.8 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1602, allocations: 291 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1604, allocations: 116.2 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1604, allocations: 6.266 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1606, allocations: 259.3 kB / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.1606, allocations: 0 / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006067/0.1612, allocations: 0.5714 MB / 451 MB, free: 40.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.1612, allocations: 76.41 kB / 451.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1613, allocations: 213.9 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1614, allocations: 45.88 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1614, allocations: 135.2 kB / 451.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1614, allocations: 100.6 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.1615, allocations: 101 kB / 451.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.1615, allocations: 345.6 kB / 452 MB, free: 39.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1617, allocations: 110.3 kB / 452.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1618, allocations: 291.1 kB / 452.4 MB, free: 39.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1621, allocations: 434.1 kB / 452.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1621, allocations: 2.875 kB / 452.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003841/0.1625, allocations: 462.1 kB / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1625, allocations: 5.812 kB / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1625, allocations: 9.875 kB / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1625, allocations: 12.11 kB / 453.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1627, allocations: 67.89 kB / 453.4 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1627, allocations: 11.77 kB / 453.4 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.1628, allocations: 44.19 kB / 453.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1628, allocations: 28 kB / 453.4 MB, free: 38.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 (triggeredMax.y,$PRE.triggeredMax.y,triggeredSampler.y,$PRE.triggeredSampler.y,stateSpace.firstTrigger,$PRE.stateSpace.firstTrigger,stateSpace.x[1],$PRE.stateSpace.x[1],stateSpace.x[2],$PRE.stateSpace.x[2],stateSpace.y[1],$PRE.stateSpace.y[1],transferFunction.firstTrigger,$PRE.transferFunction.firstTrigger,transferFunction.x1,$PRE.transferFunction.x1,transferFunction.xext[1],$PRE.transferFunction.xext[1],transferFunction.xext[2],$PRE.transferFunction.xext[2],transferFunction.x[1],$PRE.transferFunction.x[1],transferFunction.y,$PRE.transferFunction.y,unitDelay.firstTrigger,$PRE.unitDelay.firstTrigger,unitDelay.y,$PRE.unitDelay.y,firstOrderHold.firstTrigger,$PRE.firstOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,sampler.firstTrigger,$PRE.sampler.firstTrigger,$whenCondition8,sampler.sampleTrigger,$whenCondition1,zeroOrderHold.sampleTrigger,$whenCondition2,firstOrderHold.sampleTrigger,$whenCondition3,unitDelay.sampleTrigger,$whenCondition4,transferFunction.sampleTrigger,$whenCondition5,stateSpace.sampleTrigger,$whenCondition6,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition7,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,sampler.y,$PRE.sampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 0.0001021/0.1629, allocations: 199.5 kB / 453.6 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1629, allocations: 34.56 kB / 453.7 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1629, allocations: 31.84 kB / 453.7 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1629, allocations: 5.688 kB / 453.7 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1629, allocations: 0 / 453.7 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.163, allocations: 3.234 kB / 453.7 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.1637, allocations: 0.9051 MB / 454.6 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1637, allocations: 5.219 kB / 454.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1638, allocations: 19.62 kB / 454.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1638, allocations: 2.844 kB / 454.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1638, allocations: 10.11 kB / 454.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1638, allocations: 2.906 kB / 454.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1638, allocations: 0 / 454.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1642, allocations: 0.569 MB / 455.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.1642, allocations: 28.53 kB / 455.2 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1643, allocations: 22.8 kB / 455.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1644, allocations: 31.88 kB / 455.3 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1644, allocations: 32.41 kB / 455.3 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1645, allocations: 18.12 kB / 455.4 MB, free: 37.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.1645, allocations: 155.4 kB / 455.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1645, allocations: 0.5625 kB / 455.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.1649, allocations: 82.73 kB / 455.6 MB, free: 37.41 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: 39 (booleanPulse.y,stateSpace.sampleTrigger,transferFunction.sampleTrigger,unitDelay.sampleTrigger,firstOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,sampler.sampleTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,zeroOrderHold.firstTrigger,zeroOrderHold.ySample,firstOrderHold.firstTrigger,firstOrderHold.tSample,firstOrderHold.uSample,firstOrderHold.pre_uSample,firstOrderHold.c,unitDelay.firstTrigger,unitDelay.y,transferFunction.firstTrigger,transferFunction.y,transferFunction.x[1],transferFunction.x1,transferFunction.xext[1],transferFunction.xext[2],stateSpace.firstTrigger,stateSpace.y[1],stateSpace.x[1],stateSpace.x[2],triggeredSampler.y,booleanPulse.pulseStart,triggeredMax.y) * Number of discrete states: 9 (zeroOrderHold.ySample,triggeredMax.y,stateSpace.x[1],stateSpace.x[2],transferFunction.x[1],unitDelay.u,firstOrderHold.uSample,firstOrderHold.c,sampler.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.0008262/0.1657, allocations: 1.14 MB / 456.7 MB, free: 36.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.1662, allocations: 334.5 kB / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1662, allocations: 0.5 kB / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.1665, allocations: 160.9 kB / 457.2 MB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1668, allocations: 41.09 kB / 457.2 MB, free: 36.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.1701, allocations: 3.165 MB / 460.4 MB, free: 34.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1702, allocations: 156.5 kB / 460.6 MB, free: 34.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.578e-05/0.1703, allocations: 38.19 kB / 460.6 MB, free: 34.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1704, allocations: 93.39 kB / 460.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1704, allocations: 0 / 460.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07417/0.2446, allocations: 6.761 MB / 467.5 MB, free: 32.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.309, allocations: 3.312 kB / 467.5 MB, free: 32.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Discrete_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Blocks_Discrete.fmu) > ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Discrete/Discrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,sampler.firstTrigger,sampler.y,stateSpace.firstTrigger,stateSpace.x[1],stateSpace.x[2],stateSpace.y[1],transferFunction.firstTrigger,transferFunction.x[1],transferFunction.x1,transferFunction.xext[1],transferFunction.xext[2],transferFunction.y,triggeredMax.y,triggeredSampler.y,unitDelay.firstTrigger,unitDelay.u,unitDelay.y,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,samplePeriod,sampler.samplePeriod,sampler.startTime,sampler.u,sampler.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,stateSpace.A[1,1],stateSpace.A[1,2],stateSpace.A[2,1],stateSpace.A[2,2],stateSpace.B[1,1],stateSpace.B[2,1],stateSpace.C[1,1],stateSpace.C[1,2],stateSpace.D[1,1],stateSpace.nin,stateSpace.nout,stateSpace.samplePeriod,stateSpace.startTime,stateSpace.u[1],stateSpace.x[1],stateSpace.x[2],stateSpace.y[1],time,transferFunction.a[1],transferFunction.a[2],transferFunction.b[1],transferFunction.samplePeriod,transferFunction.startTime,transferFunction.u,transferFunction.x[1],transferFunction.y,triggeredMax.trigger,triggeredMax.u,triggeredMax.y,triggeredSampler.trigger,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,unitDelay.samplePeriod,unitDelay.startTime,unitDelay.u,unitDelay.y,unitDelay.y_start,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.diff.mat", vars={"zeroOrderHold.ySample", "unitDelay.y", "unitDelay.u", "triggeredSampler.y", "triggeredMax.y", "transferFunction.y", "transferFunction.x[1]", "stateSpace.y[1]", "stateSpace.x[2]", "stateSpace.x[1]", "sampler.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Discrete/Discrete.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.diff.ref.mat", vars={"zeroOrderHold.ySample", "unitDelay.y", "unitDelay.u", "triggeredSampler.y", "triggeredMax.y", "transferFunction.y", "transferFunction.x[1]", "stateSpace.y[1]", "stateSpace.x[2]", "stateSpace.x[1]", "sampler.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Discrete_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Blocks_Discrete_OMSimulator-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Discrete/Discrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-cvode_res.mat failed! " [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Discrete_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Blocks_Discrete_OMSimulator-cs-euler.fmu) > ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Discrete/Discrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrderHold.c in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_OMSimulator-cs-euler_res.mat failed! " [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy_res.csv --output-variables firstOrderHold.c firstOrderHold.firstTrigger firstOrderHold.pre_uSample firstOrderHold.tSample firstOrderHold.uSample sampler.firstTrigger sampler.y stateSpace.firstTrigger 'stateSpace.x[1]' 'stateSpace.x[2]' 'stateSpace.y[1]' transferFunction.firstTrigger 'transferFunction.x[1]' transferFunction.x1 'transferFunction.xext[1]' 'transferFunction.xext[2]' transferFunction.y triggeredMax.y triggeredSampler.y unitDelay.firstTrigger unitDelay.u unitDelay.y zeroOrderHold.firstTrigger zeroOrderHold.ySample --start-time 0 --stop-time 1.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215433 ../ModelicaTest_trunk_ModelicaTest_Blocks_Discrete.fmu) > ModelicaTest_trunk_ModelicaTest.Blocks.Discrete_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.32739678490907]