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.002445/0.00245, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001138/0.001138, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2915/0.2915, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006287, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1223, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.002851/0.1252, allocations: 1.568 MB / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.127, allocations: 0.6636 MB / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1272, allocations: 0 / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1274, allocations: 35.77 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1276, allocations: 63.81 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.1282, allocations: 87.83 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.1285, allocations: 179.6 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1287, allocations: 36.38 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.129, allocations: 107.6 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1293, allocations: 151.5 kB / 493.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.1294, allocations: 8 kB / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.1295, allocations: 12 kB / 493.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1296, allocations: 71.78 kB / 493.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.1297, allocations: 69.56 kB / 493.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.13, allocations: 159.9 kB / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.13, allocations: 0 / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.13, allocations: 4 kB / 493.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1301, allocations: 0 / 493.4 MB, free: 6.113 MB / 330.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.002006/0.1321, allocations: 0.5975 MB / 494 MB, free: 5.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1321, allocations: 8.031 kB / 494 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1323, allocations: 31.62 kB / 494 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1327, allocations: 255.5 kB / 494.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1327, allocations: 16 kB / 494.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.1328, allocations: 27.98 kB / 494.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.1335, allocations: 225.3 kB / 494.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1336, allocations: 0 / 494.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.1336, allocations: 11.98 kB / 494.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1336, allocations: 4 kB / 494.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.1342, allocations: 139.9 kB / 494.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1358, allocations: 0.5587 MB / 495.3 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.1368, allocations: 322.7 kB / 495.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.1368, allocations: 11.95 kB / 495.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007007/0.1375, allocations: 247.4 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.1376, allocations: 0 / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001725/0.1393, allocations: 0.5713 MB / 496.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.1394, allocations: 75.38 kB / 496.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1397, allocations: 200.8 kB / 496.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.1398, allocations: 49.69 kB / 496.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.14, allocations: 191.3 kB / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1401, allocations: 98.8 kB / 497 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1402, allocations: 8 kB / 497 MB, free: 2.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1403, allocations: 334.8 kB / 497.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1407, allocations: 105.1 kB / 497.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.1412, allocations: 285.4 kB / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.1417, allocations: 139.9 kB / 497.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.1417, allocations: 4 kB / 497.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001137/0.1428, allocations: 445.4 kB / 498.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1429, allocations: 15.47 kB / 498.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.1429, allocations: 4 kB / 498.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/0.1429, allocations: 12 kB / 498.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.1433, allocations: 63.78 kB / 498.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.1434, allocations: 12 kB / 498.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1437, allocations: 43.67 kB / 498.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.1438, allocations: 24 kB / 498.5 MB, free: 0.75 MB / 330.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.0003707/0.1441, allocations: 205.6 kB / 498.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.1442, allocations: 31.67 kB / 498.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.1443, allocations: 30.98 kB / 498.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.1443, allocations: 4 kB / 498.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1444, allocations: 0 / 498.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1444, allocations: 3.984 kB / 498.7 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.1469, allocations: 0.9408 MB / 499.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.405e-06/0.1469, allocations: 3.984 kB / 499.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1471, allocations: 23.94 kB / 499.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1471, allocations: 0 / 499.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.1471, allocations: 11.98 kB / 499.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.1472, allocations: 11.98 kB / 499.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1472, allocations: 0 / 499.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.1485, allocations: 0.554 MB / 0.4886 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.1486, allocations: 104.8 kB / 0.4887 GB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.1488, allocations: 15.98 kB / 0.4887 GB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.1492, allocations: 31.97 kB / 0.4887 GB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.1493, allocations: 39.83 kB / 0.4888 GB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.1494, allocations: 15.98 kB / 0.4888 GB, free: 14.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.1496, allocations: 160.5 kB / 0.4889 GB, free: 14.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1496, allocations: 3.938 kB / 0.4889 GB, free: 14.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006008/0.1502, allocations: 71.91 kB / 0.489 GB, free: 14.4 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.0002373/0.1505, allocations: 131.1 kB / 0.4891 GB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1515, allocations: 331.7 kB / 0.4894 GB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1516, allocations: 4 kB / 0.4894 GB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.1521, allocations: 164.2 kB / 0.4896 GB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.1526, allocations: 41.25 kB / 0.4896 GB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1545, allocations: 0.5958 MB / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.155, allocations: 0.7692 MB / 0.491 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.1551, allocations: 31.42 kB / 0.491 GB, free: 12.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1552, allocations: 0 / 0.491 GB, free: 12.29 MB / 346.7 MB Notification: Performance of Templates: time 0.00965/0.1648, allocations: 3.341 MB / 0.4943 GB, free: 8.945 MB / 346.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/jenkins1/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