Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete") translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007593/0.0007593, allocations: 98.61 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1761/0.1761, allocations: 44.83 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002257/0.0002257, allocations: 7.984 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08747, allocations: 62.95 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.001803/0.08931, allocations: 1.604 MB / 0.5169 GB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.09025, allocations: 0.6393 MB / 0.5175 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.09033, allocations: 7.938 kB / 0.5175 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.0905, allocations: 39.83 kB / 0.5176 GB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.0906, allocations: 51.61 kB / 0.5176 GB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.09092, allocations: 87.83 kB / 0.5177 GB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.09114, allocations: 255.1 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.09126, allocations: 44.36 kB / 0.518 GB, free: 44 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1744/0.2657, allocations: 100 kB / 0.5181 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2661, allocations: 146.9 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2661, allocations: 10.28 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.2662, allocations: 17.42 kB / 0.5182 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.2663, allocations: 69.7 kB / 0.5183 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.2664, allocations: 70.41 kB / 0.5184 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2667, allocations: 173.2 kB / 0.5185 GB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2667, allocations: 0.5 kB / 0.5185 GB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2667, allocations: 0 / 0.5185 GB, free: 9.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2667, allocations: 0.8438 kB / 0.5185 GB, free: 9.809 MB / 346.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.00111/0.2678, allocations: 0.599 MB / 0.5191 GB, free: 9.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2679, allocations: 10.81 kB / 0.5191 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.268, allocations: 49.56 kB / 0.5192 GB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2683, allocations: 240.7 kB / 0.5194 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2683, allocations: 16.28 kB / 0.5194 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.2683, allocations: 23.52 kB / 0.5194 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.2688, allocations: 229.1 kB / 0.5197 GB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2688, allocations: 0 / 0.5197 GB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2689, allocations: 9.672 kB / 0.5197 GB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2689, allocations: 11.11 kB / 0.5197 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2692, allocations: 137.4 kB / 0.5198 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.2701, allocations: 0.5672 MB / 0.5204 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.2706, allocations: 319.8 kB / 0.5207 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.2708, allocations: 128.4 kB / 0.5208 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.2709, allocations: 7.094 kB / 0.5208 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.2712, allocations: 243.2 kB / 0.521 GB, free: 8.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.2713, allocations: 0 / 0.521 GB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009701/0.2722, allocations: 0.5726 MB / 0.5216 GB, free: 8.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2723, allocations: 76.41 kB / 0.5217 GB, free: 8.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.2725, allocations: 211.6 kB / 0.5219 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2725, allocations: 46.67 kB / 0.5219 GB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2726, allocations: 126.8 kB / 0.522 GB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.2727, allocations: 103.9 kB / 0.5221 GB, free: 8.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.2727, allocations: 10.25 kB / 0.5221 GB, free: 8.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.2728, allocations: 341.5 kB / 0.5225 GB, free: 8.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.273, allocations: 101.5 kB / 0.5226 GB, free: 8.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.2732, allocations: 291.4 kB / 0.5228 GB, free: 7.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2735, allocations: 146.5 kB / 0.523 GB, free: 7.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2735, allocations: 2.719 kB / 0.523 GB, free: 7.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006296/0.2741, allocations: 449.9 kB / 0.5234 GB, free: 7.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2741, allocations: 10.36 kB / 0.5234 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2741, allocations: 5.969 kB / 0.5234 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2742, allocations: 18.16 kB / 0.5234 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2744, allocations: 61.19 kB / 0.5235 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.2744, allocations: 14.5 kB / 0.5235 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2746, allocations: 43.62 kB / 0.5236 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2746, allocations: 24.67 kB / 0.5236 GB, free: 7.691 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.triggeredMax.y,triggeredMax.y,$PRE.triggeredSampler.y,triggeredSampler.y,$PRE.stateSpace.firstTrigger,stateSpace.firstTrigger,$PRE.stateSpace.x[1],stateSpace.x[1],$PRE.stateSpace.x[2],stateSpace.x[2],$PRE.stateSpace.y[1],stateSpace.y[1],$PRE.transferFunction.firstTrigger,transferFunction.firstTrigger,$PRE.transferFunction.x1,transferFunction.x1,$PRE.transferFunction.xext[1],transferFunction.xext[1],$PRE.transferFunction.xext[2],transferFunction.xext[2],$PRE.transferFunction.x[1],transferFunction.x[1],$PRE.transferFunction.y,transferFunction.y,$PRE.unitDelay.firstTrigger,unitDelay.firstTrigger,$PRE.unitDelay.y,unitDelay.y,$PRE.firstOrderHold.firstTrigger,firstOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition8,$whenCondition1,sampler.sampleTrigger,$PRE.zeroOrderHold.ySample,$whenCondition2,zeroOrderHold.sampleTrigger,$whenCondition3,firstOrderHold.sampleTrigger,$whenCondition4,unitDelay.sampleTrigger,$whenCondition5,transferFunction.sampleTrigger,$whenCondition6,stateSpace.sampleTrigger,$whenCondition7,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,sampler.y,zeroOrderHold.ySample,$PRE.firstOrderHold.tSample,firstOrderHold.tSample,$PRE.firstOrderHold.uSample,firstOrderHold.uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.pre_uSample,$PRE.firstOrderHold.c,firstOrderHold.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.2748, allocations: 196.6 kB / 0.5238 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2749, allocations: 32.62 kB / 0.5238 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.2749, allocations: 30.8 kB / 0.5238 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.275, allocations: 12.36 kB / 0.5238 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.275, allocations: 0.6094 kB / 0.5238 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.275, allocations: 3.078 kB / 0.5238 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.2764, allocations: 0.9457 MB / 0.5248 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2765, allocations: 0.7969 kB / 0.5248 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.2765, allocations: 14.38 kB / 0.5248 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2765, allocations: 3.109 kB / 0.5248 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.2766, allocations: 14.14 kB / 0.5248 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2766, allocations: 2.297 kB / 0.5248 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2766, allocations: 1.156 kB / 0.5248 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.2773, allocations: 0.563 MB / 0.5254 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.2774, allocations: 101 kB / 0.5255 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.2774, allocations: 21.38 kB / 0.5255 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2777, allocations: 36.53 kB / 0.5255 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.2778, allocations: 27.31 kB / 0.5255 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2778, allocations: 20.23 kB / 0.5256 GB, free: 6.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2779, allocations: 154.1 kB / 0.5257 GB, free: 6.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2779, allocations: 0 / 0.5257 GB, free: 6.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.2783, allocations: 79.36 kB / 0.5258 GB, free: 6.641 MB / 346.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: 8 (zeroOrderHold.ySample,triggeredMax.y,stateSpace.x[1],stateSpace.x[2],transferFunction.x[1],unitDelay.u,firstOrderHold.uSample,firstOrderHold.c) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.2784, allocations: 129.7 kB / 0.5259 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.279, allocations: 330 kB / 0.5262 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.279, allocations: 5.109 kB / 0.5262 GB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.2792, allocations: 175.6 kB / 0.5264 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2796, allocations: 44.28 kB / 0.5264 GB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2807, allocations: 0.5904 MB / 0.527 GB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2809, allocations: 0.7663 MB / 0.5278 GB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.2809, allocations: 27.17 kB / 0.5278 GB, free: 5.324 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.2809, allocations: 0.9062 kB / 0.5278 GB, free: 5.324 MB / 346.7 MB Notification: Performance of Templates: time 0.00564/0.2866, allocations: 3.439 MB / 0.5311 GB, free: 5.023 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Discrete/Discrete.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable firstOrderHold.c in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! " 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.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