Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001402, allocations: 177.8 kB / 8.403 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 214.1 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 90.69 kB / 262.2 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1032/0.1032, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.978e-05, allocations: 0 / 378.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4788, allocations: 81.1 MB / 0.4984 GB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.4792, allocations: 83.95 kB / 0.4985 GB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02821/0.5074, allocations: 6.27 MB / 0.5046 GB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5075, allocations: 0 / 0.5046 GB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.5075, allocations: 4 kB / 0.5046 GB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007541/0.5083, allocations: 475.7 kB / 0.5051 GB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5083, allocations: 8.031 kB / 0.5051 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.5084, allocations: 19.72 kB / 0.5051 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.509, allocations: 261.7 kB / 0.5054 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.509, allocations: 3.953 kB / 0.5054 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5091, allocations: 4 kB / 0.5054 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001544/0.5092, allocations: 35.98 kB / 0.5054 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.5096, allocations: 134.8 kB / 0.5055 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5096, allocations: 3.938 kB / 0.5055 GB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5096, allocations: 3.938 kB / 0.5055 GB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5097, allocations: 7.984 kB / 0.5055 GB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.5103, allocations: 335 kB / 0.5059 GB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5106, allocations: 100.2 kB / 0.506 GB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.5107, allocations: 42.7 kB / 0.506 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5107, allocations: 7.984 kB / 0.506 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.5109, allocations: 83.23 kB / 0.5061 GB, free: 9.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/0.5109, allocations: 0 / 0.5061 GB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003401/0.5113, allocations: 105.4 kB / 0.5062 GB, free: 9.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.5114, allocations: 136.6 kB / 0.5063 GB, free: 8.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.5118, allocations: 228.5 kB / 0.5065 GB, free: 8.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.5118, allocations: 25.7 kB / 0.5066 GB, free: 8.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5119, allocations: 178.5 kB / 0.5067 GB, free: 8.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.512, allocations: 15.84 kB / 0.5067 GB, free: 8.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.512, allocations: 3.938 kB / 0.5067 GB, free: 8.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5122, allocations: 318.8 kB / 0.5071 GB, free: 8.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.5122, allocations: 16 kB / 0.5071 GB, free: 8.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5124, allocations: 66 kB / 0.5071 GB, free: 8.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.5125, allocations: 31.88 kB / 0.5072 GB, free: 7.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5125, allocations: 0 / 0.5072 GB, free: 7.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002316/0.5127, allocations: 93.56 kB / 0.5073 GB, free: 7.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5128, allocations: 8 kB / 0.5073 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5128, allocations: 0 / 0.5073 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5128, allocations: 4 kB / 0.5073 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.5129, allocations: 11.98 kB / 0.5073 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.513, allocations: 7.938 kB / 0.5073 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5131, allocations: 4 kB / 0.5073 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.5131, allocations: 4 kB / 0.5073 GB, free: 7.836 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001133/0.5133, allocations: 117.1 kB / 0.5074 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5134, allocations: 57.44 kB / 0.5075 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5137, allocations: 107.4 kB / 0.5076 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5137, allocations: 3.984 kB / 0.5076 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5137, allocations: 4 kB / 0.5076 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5137, allocations: 0 / 0.5076 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.514, allocations: 206.2 kB / 0.5078 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.514, allocations: 0 / 0.5078 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.5141, allocations: 12.06 kB / 0.5078 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5141, allocations: 3.953 kB / 0.5078 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.5141, allocations: 4.125 kB / 0.5078 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.5142, allocations: 7.938 kB / 0.5078 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5142, allocations: 0 / 0.5078 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.5145, allocations: 181.9 kB / 0.508 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5147, allocations: 120.7 kB / 0.5081 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.5148, allocations: 4 kB / 0.5081 GB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5149, allocations: 4 kB / 0.5081 GB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.5149, allocations: 11.92 kB / 0.5081 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.515, allocations: 8 kB / 0.5081 GB, free: 6.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002686/0.5152, allocations: 180.5 kB / 0.5083 GB, free: 6.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5153, allocations: 0 / 0.5083 GB, free: 6.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000384/0.5156, allocations: 36 kB / 0.5083 GB, free: 6.672 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001285/0.5169, allocations: 348.6 kB / 0.5086 GB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.5172, allocations: 59.92 kB / 0.5087 GB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5173, allocations: 0 / 0.5087 GB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.5173, allocations: 32.19 kB / 0.5087 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.5179, allocations: 55.7 kB / 0.5088 GB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.5185, allocations: 261.8 kB / 0.509 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.519, allocations: 0.7399 MB / 0.5098 GB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.5191, allocations: 15.44 kB / 0.5098 GB, free: 5.117 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5191, allocations: 0 / 0.5098 GB, free: 5.117 MB / 362.7 MB Notification: Performance of Templates: time 0.007123/0.5262, allocations: 2.609 MB / 0.5123 GB, free: 2.516 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches