Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00235/0.00235, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007024/0.0007024, allocations: 88.33 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3118/0.3118, allocations: 43.57 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.00191/0.1038, allocations: 1.586 MB / 491.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1048, allocations: 0.6634 MB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.1049, allocations: 3.938 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.1051, allocations: 35.81 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.1052, allocations: 51.69 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1056, allocations: 83.83 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1058, allocations: 255.1 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1059, allocations: 40.36 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1061, allocations: 107.6 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1063, allocations: 151.4 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1064, allocations: 12 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.1064, allocations: 12 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.1065, allocations: 67.78 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.1066, allocations: 65.58 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1068, allocations: 167.9 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1068, allocations: 4 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1068, allocations: 3.938 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1068, allocations: 4 kB / 493.5 MB, free: 7.906 MB / 378.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.001228/0.108, allocations: 0.5974 MB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1081, allocations: 12.03 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.1082, allocations: 35.67 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1084, allocations: 247.5 kB / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1085, allocations: 19.98 kB / 494.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.1085, allocations: 20 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.1089, allocations: 237.3 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.109, allocations: 3.984 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.109, allocations: 4 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.109, allocations: 4 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1093, allocations: 143.9 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.1103, allocations: 0.5588 MB / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.1108, allocations: 322.6 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.111, allocations: 128.8 kB / 495.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1111, allocations: 8 kB / 495.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.1115, allocations: 251.4 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.1115, allocations: 0 / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001019/0.1125, allocations: 0.5674 MB / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.1126, allocations: 71.38 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1128, allocations: 211.7 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.1128, allocations: 45.7 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.1129, allocations: 137 kB / 497.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.113, allocations: 98.8 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.113, allocations: 8 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1132, allocations: 346.8 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1134, allocations: 97.08 kB / 497.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1137, allocations: 293.4 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.114, allocations: 151.9 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.114, allocations: 3.953 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006996/0.1147, allocations: 445 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1147, allocations: 8 kB / 498.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1147, allocations: 7.984 kB / 498.5 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1147, allocations: 12 kB / 498.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.115, allocations: 63.78 kB / 498.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.115, allocations: 8.438 kB / 498.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1152, allocations: 51.67 kB / 498.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.1152, allocations: 20 kB / 498.7 MB, free: 2.43 MB / 378.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.0002016/0.1154, allocations: 205.6 kB / 498.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1155, allocations: 35.66 kB / 498.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.1156, allocations: 26.94 kB / 498.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1156, allocations: 8 kB / 499 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1156, allocations: 7.984 kB / 499 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1156, allocations: 0 / 499 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1171, allocations: 0.941 MB / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1171, allocations: 0 / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.1172, allocations: 19.92 kB / 499.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1172, allocations: 3.984 kB / 499.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.1172, allocations: 11.98 kB / 499.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1172, allocations: 4 kB / 499.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1172, allocations: 0 / 499.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.118, allocations: 0.5617 MB / 0.4888 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.118, allocations: 108.7 kB / 0.4889 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.1181, allocations: 23.98 kB / 0.4889 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1184, allocations: 35.97 kB / 0.4889 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.1184, allocations: 27.95 kB / 0.489 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.1185, allocations: 19.98 kB / 0.489 GB, free: 304 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1186, allocations: 144.2 kB / 0.4891 GB, free: 160 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1186, allocations: 0 / 0.4891 GB, free: 160 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.119, allocations: 79.94 kB / 0.4892 GB, free: 80 kB / 378.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.1605/0.2795, allocations: 127.2 kB / 0.4893 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.2803, allocations: 325.8 kB / 0.4896 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2804, allocations: 2.812 kB / 0.4896 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.2807, allocations: 171 kB / 0.4898 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2811, allocations: 40.52 kB / 0.4898 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2823, allocations: 0.6022 MB / 0.4904 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2825, allocations: 0.7638 MB / 0.4912 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.2826, allocations: 29.48 kB / 0.4912 GB, free: 42.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2826, allocations: 0 / 0.4912 GB, free: 42.31 MB / 378.7 MB Notification: Performance of Templates: time 0.00542/0.288, allocations: 3.421 MB / 0.4945 GB, free: 42.12 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Discrete/Discrete.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_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.freqHz,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