Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 111.6 kB / 17.98 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 189.3 kB / 18.9 MB, free: 4.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.16 MB / 336.9 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.5 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.00337/0.1109, allocations: 1.98 MB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1122, allocations: 0.6312 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1124, allocations: 7.938 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1126, allocations: 31.83 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1129, allocations: 59.61 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1133, allocations: 99.83 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1136, allocations: 267.2 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1138, allocations: 52.38 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.1141, allocations: 127.5 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.1144, allocations: 171.4 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.1145, allocations: 20 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.1145, allocations: 20 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1147, allocations: 87.72 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1148, allocations: 127.4 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.115, allocations: 171.9 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1151, allocations: 4 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1151, allocations: 4 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1151, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 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.001364/0.1165, allocations: 0.6325 MB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1165, allocations: 8.031 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.1166, allocations: 32.64 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1169, allocations: 252.7 kB / 474.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1169, allocations: 16.36 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.117, allocations: 20.38 kB / 474.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.1174, allocations: 237.8 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1174, allocations: 0 / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.1175, allocations: 8 kB / 474.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1175, allocations: 4 kB / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.1178, allocations: 139.8 kB / 474.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1188, allocations: 0.5586 MB / 475.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.1193, allocations: 310.9 kB / 475.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1195, allocations: 128.8 kB / 475.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.1195, allocations: 11.92 kB / 475.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.12, allocations: 243.5 kB / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.707e-06/0.12, allocations: 0 / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.001003/0.121, allocations: 0.5673 MB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.121, allocations: 79.31 kB / 476.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1212, allocations: 211.7 kB / 476.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.1213, allocations: 49.69 kB / 476.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1214, allocations: 128.9 kB / 476.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.1215, allocations: 106.7 kB / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1216, allocations: 94.25 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1217, allocations: 346.8 kB / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1219, allocations: 101.1 kB / 477.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1222, allocations: 285.4 kB / 477.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.1228, allocations: 430.8 kB / 478.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1228, allocations: 0 / 478.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006835/0.1235, allocations: 453 kB / 478.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1235, allocations: 8 kB / 478.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1235, allocations: 4 kB / 478.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1235, allocations: 8 kB / 478.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1238, allocations: 67.78 kB / 478.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.1238, allocations: 11.94 kB / 478.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.124, allocations: 44.11 kB / 478.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.124, allocations: 24 kB / 478.7 MB, free: 4.945 MB / 350.1 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 (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,$PRE.zeroOrderHold.ySample,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,sampler.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.1242, allocations: 201.6 kB / 478.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.1243, allocations: 27.72 kB / 479 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1244, allocations: 26.98 kB / 479 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1244, allocations: 4 kB / 479 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1244, allocations: 3.938 kB / 479 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1244, allocations: 11.98 kB / 479 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1259, allocations: 0.924 MB / 479.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1259, allocations: 3.984 kB / 479.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.126, allocations: 19.94 kB / 480 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.126, allocations: 4 kB / 480 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.1261, allocations: 11.98 kB / 480 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1261, allocations: 3.984 kB / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1261, allocations: 0 / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.1268, allocations: 0.5632 MB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1269, allocations: 104.7 kB / 480.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.127, allocations: 19.92 kB / 480.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.1272, allocations: 35.95 kB / 480.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.1273, allocations: 27.97 kB / 480.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.1273, allocations: 15.98 kB / 480.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1275, allocations: 153.5 kB / 480.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1275, allocations: 0 / 480.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.1279, allocations: 71.98 kB / 481 MB, free: 2.629 MB / 350.1 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 (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.0001638/0.1281, allocations: 131.6 kB / 481.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.1288, allocations: 368.5 kB / 481.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1288, allocations: 0.5 kB / 481.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.1291, allocations: 171.9 kB / 481.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1295, allocations: 47.84 kB / 481.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1308, allocations: 0.6244 MB / 482.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1311, allocations: 0.7566 MB / 483.1 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.1312, allocations: 35.42 kB / 483.1 MB, free: 464 kB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1312, allocations: 0 / 483.1 MB, free: 464 kB / 350.1 MB Notification: Performance of Templates: time 0.006138/0.1373, allocations: 3.439 MB / 486.5 MB, free: 13.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Discrete/Discrete.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches