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.001356/0.001356, allocations: 111.2 kB / 20.43 MB, free: 4.594 MB / 13.93 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.001458/0.001458, allocations: 217.3 kB / 23.73 MB, free: 2.137 MB / 13.93 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 1.063/1.063, allocations: 230.7 MB / 257.6 MB, free: 9.328 MB / 202.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.1787/0.1787, allocations: 47.71 MB / 361.8 MB, free: 2.207 MB / 282.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 0.002865/0.002865, allocations: 104.3 kB / 0.4982 GB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1166, allocations: 66.24 MB / 0.5628 GB, free: 4.199 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.002726/0.1194, allocations: 1.897 MB / 0.5647 GB, free: 2.293 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1205, allocations: 0.6779 MB / 0.5654 GB, free: 1.609 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1206, allocations: 7.938 kB / 0.5654 GB, free: 1.602 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1208, allocations: 47.62 kB / 0.5654 GB, free: 1.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.1209, allocations: 63.55 kB / 0.5655 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1213, allocations: 124.8 kB / 0.5656 GB, free: 1.371 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1216, allocations: 287.1 kB / 0.5659 GB, free: 1.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1217, allocations: 44.78 kB / 0.5659 GB, free: 1.043 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.122, allocations: 139.5 kB / 0.566 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.1223, allocations: 167.4 kB / 0.5662 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.1223, allocations: 20 kB / 0.5662 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.1224, allocations: 28 kB / 0.5662 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.1225, allocations: 87.67 kB / 0.5663 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.1226, allocations: 107.5 kB / 0.5664 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1229, allocations: 270.8 kB / 0.5667 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1229, allocations: 0 / 0.5667 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1229, allocations: 0 / 0.5667 GB, free: 244 kB / 426.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1229, allocations: 3.938 kB / 0.5667 GB, free: 240 kB / 426.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.2162/0.3391, allocations: 0.5673 MB / 0.5673 GB, free: 15.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3391, allocations: 10.38 kB / 0.5673 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3392, allocations: 53.12 kB / 0.5673 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3393, allocations: 42.08 kB / 0.5674 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3395, allocations: 202 kB / 0.5675 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3396, allocations: 15.66 kB / 0.5676 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3396, allocations: 25.5 kB / 0.5676 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.34, allocations: 235.5 kB / 0.5678 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.34, allocations: 3.938 kB / 0.5678 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.34, allocations: 10.12 kB / 0.5678 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.34, allocations: 4.031 kB / 0.5678 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.3402, allocations: 138.4 kB / 0.568 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.341, allocations: 0.4907 MB / 0.5684 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.3414, allocations: 288.2 kB / 0.5687 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3416, allocations: 118.3 kB / 0.5688 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3416, allocations: 10.55 kB / 0.5688 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.3419, allocations: 249.9 kB / 0.5691 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.3419, allocations: 0 / 0.5691 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.000777/0.3427, allocations: 0.5773 MB / 0.5696 GB, free: 14.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3428, allocations: 76.05 kB / 0.5697 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3429, allocations: 215.3 kB / 0.5699 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3429, allocations: 44.25 kB / 0.57 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.343, allocations: 133.9 kB / 0.5701 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.3431, allocations: 108.6 kB / 0.5702 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.3431, allocations: 93.36 kB / 0.5703 GB, free: 14.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.3432, allocations: 341.8 kB / 0.5706 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3433, allocations: 111.2 kB / 0.5707 GB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.3435, allocations: 292.4 kB / 0.571 GB, free: 13.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.3439, allocations: 439.8 kB / 0.5714 GB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3439, allocations: 2.25 kB / 0.5714 GB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004923/0.3444, allocations: 460.4 kB / 0.5718 GB, free: 12.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3444, allocations: 9.172 kB / 0.5719 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3444, allocations: 5.875 kB / 0.5719 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3444, allocations: 11.53 kB / 0.5719 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3446, allocations: 69.02 kB / 0.5719 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.3446, allocations: 13.33 kB / 0.572 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3447, allocations: 47.72 kB / 0.572 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3448, allocations: 22.06 kB / 0.572 GB, free: 12.85 MB / 426.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.000149/0.3449, allocations: 199.5 kB / 0.5722 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3449, allocations: 36.08 kB / 0.5722 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.345, allocations: 27.47 kB / 0.5723 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.345, allocations: 3.969 kB / 0.5723 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.345, allocations: 6.25 kB / 0.5723 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.345, allocations: 7.266 kB / 0.5723 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3461, allocations: 0.8979 MB / 0.5732 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3461, allocations: 1.312 kB / 0.5732 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.3461, allocations: 17.14 kB / 0.5732 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3461, allocations: 2.125 kB / 0.5732 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3461, allocations: 12.77 kB / 0.5732 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3461, allocations: 5.844 kB / 0.5732 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3461, allocations: 0 / 0.5732 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.3467, allocations: 0.5762 MB / 0.5738 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.3467, allocations: 24.97 kB / 0.5738 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3468, allocations: 21.38 kB / 0.5738 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3469, allocations: 32.66 kB / 0.5738 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.347, allocations: 31.38 kB / 0.5739 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.347, allocations: 17.69 kB / 0.5739 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.3471, allocations: 154.7 kB / 0.574 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3471, allocations: 4 kB / 0.574 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.3474, allocations: 77.39 kB / 0.5741 GB, free: 11.77 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: 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.0008626/0.3482, allocations: 1.147 MB / 0.5752 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.3488, allocations: 333.3 kB / 0.5755 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3488, allocations: 1.031 kB / 0.5755 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.349, allocations: 151.4 kB / 0.5757 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3493, allocations: 43.47 kB / 0.5757 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.3523, allocations: 3.168 MB / 0.5788 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3524, allocations: 149.4 kB / 0.579 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3525, allocations: 38.17 kB / 0.579 GB, free: 8.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3526, allocations: 86 kB / 0.5791 GB, free: 8.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3526, allocations: 1.406 kB / 0.5791 GB, free: 8.461 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07706/0.4297, allocations: 6.644 MB / 0.5856 GB, free: 7.168 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.653, allocations: 17.7 kB / 0.5856 GB, free: 7.156 MB / 426.7 MB " [Timeout remaining time 652] (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.867039936594665]