Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.3 MB / 213.8 MB, free: 1.734 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.0008853/0.0008851, allocations: 94.14 kB / 261.8 MB, free: 1.676 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.07762/0.07762, allocations: 12.6 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.539e-05, allocations: 4 kB / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3683, allocations: 81.12 MB / 0.4985 GB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3686, allocations: 87.94 kB / 0.4985 GB, free: 1.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.386, allocations: 6.412 MB / 0.5048 GB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3861, allocations: 0 / 0.5048 GB, free: 10.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.919e-05/0.3861, allocations: 4 kB / 0.5048 GB, free: 10.6 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.0007017/0.3869, allocations: 0.4917 MB / 0.5053 GB, free: 10.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3869, allocations: 8.031 kB / 0.5053 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.387, allocations: 27.72 kB / 0.5053 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3875, allocations: 278.5 kB / 0.5056 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.3876, allocations: 7.953 kB / 0.5056 GB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3876, allocations: 4 kB / 0.5056 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.3877, allocations: 39.92 kB / 0.5056 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.388, allocations: 143.6 kB / 0.5058 GB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3881, allocations: 0 / 0.5058 GB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3881, allocations: 4 kB / 0.5058 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3881, allocations: 0 / 0.5058 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.3886, allocations: 374.9 kB / 0.5061 GB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3888, allocations: 103.9 kB / 0.5062 GB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.3889, allocations: 54.69 kB / 0.5063 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3889, allocations: 0 / 0.5063 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.389, allocations: 83.39 kB / 0.5064 GB, free: 8.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3891, allocations: 0 / 0.5064 GB, free: 8.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.00026/0.3893, allocations: 125.3 kB / 0.5065 GB, free: 8.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.3894, allocations: 162.2 kB / 0.5066 GB, free: 8.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.3897, allocations: 282.3 kB / 0.5069 GB, free: 8.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3897, allocations: 25.7 kB / 0.5069 GB, free: 8.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3898, allocations: 128.1 kB / 0.5071 GB, free: 8.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3899, allocations: 23.67 kB / 0.5071 GB, free: 8.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.3899, allocations: 7.938 kB / 0.5071 GB, free: 7.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.39, allocations: 334.8 kB / 0.5074 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.39, allocations: 23.98 kB / 0.5074 GB, free: 7.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.3901, allocations: 90.78 kB / 0.5075 GB, free: 7.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.3902, allocations: 31.98 kB / 0.5076 GB, free: 7.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3902, allocations: 0 / 0.5076 GB, free: 7.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001642/0.3904, allocations: 113.3 kB / 0.5077 GB, free: 7.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3904, allocations: 4 kB / 0.5077 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3904, allocations: 0 / 0.5077 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3904, allocations: 4 kB / 0.5077 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3905, allocations: 19.92 kB / 0.5077 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3905, allocations: 4 kB / 0.5077 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.3906, allocations: 8.125 kB / 0.5077 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3906, allocations: 4 kB / 0.5077 GB, free: 7.332 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 8.784e-05/0.3907, allocations: 116.9 kB / 0.5078 GB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.3908, allocations: 61.36 kB / 0.5079 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.391, allocations: 115.5 kB / 0.508 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.391, allocations: 4 kB / 0.508 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.391, allocations: 0 / 0.508 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3911, allocations: 4.062 kB / 0.508 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3912, allocations: 218.1 kB / 0.5082 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3913, allocations: 0 / 0.5082 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.3913, allocations: 23.83 kB / 0.5082 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3913, allocations: 0 / 0.5082 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3914, allocations: 7.984 kB / 0.5082 GB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3914, allocations: 0 / 0.5082 GB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3914, allocations: 0 / 0.5082 GB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3916, allocations: 193.8 kB / 0.5084 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3917, allocations: 128.7 kB / 0.5085 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3918, allocations: 4.125 kB / 0.5085 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3919, allocations: 4 kB / 0.5085 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.3919, allocations: 7.984 kB / 0.5086 GB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3919, allocations: 4 kB / 0.5086 GB, free: 6.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.3921, allocations: 234 kB / 0.5088 GB, free: 6.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3921, allocations: 0 / 0.5088 GB, free: 6.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.3924, allocations: 47.98 kB / 0.5088 GB, free: 6.062 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.0007719/0.3932, allocations: 351.4 kB / 0.5092 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3934, allocations: 87.89 kB / 0.5092 GB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3934, allocations: 0 / 0.5092 GB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.3935, allocations: 31.98 kB / 0.5093 GB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3938, allocations: 71.81 kB / 0.5093 GB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3943, allocations: 275.4 kB / 0.5096 GB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3946, allocations: 0.748 MB / 0.5103 GB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.3947, allocations: 25.47 kB / 0.5104 GB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.3948, allocations: 27.42 kB / 0.5104 GB, free: 4.418 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3948, allocations: 0 / 0.5104 GB, free: 4.418 MB / 362.7 MB Notification: Performance of Templates: time 0.005317/0.4001, allocations: 2.571 MB / 0.5129 GB, free: 1.852 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches