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.002298/0.002297, allocations: 181 kB / 8.049 MB, free: 1.027 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.262/2.262, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001139/0.001139, allocations: 94.33 kB / 261.8 MB, free: 13.46 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.1097/0.1097, allocations: 12.6 MB / 322.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.744e-05, allocations: 0 / 378.9 MB, free: 75.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 50.38 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5502, allocations: 81.12 MB / 0.4985 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5505, allocations: 85.61 kB / 0.4985 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02776/0.5783, allocations: 6.416 MB / 0.5048 GB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5784, allocations: 0 / 0.5048 GB, free: 10.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.5784, allocations: 3.844 kB / 0.5048 GB, free: 10.68 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008992/0.5793, allocations: 0.4949 MB / 0.5053 GB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5794, allocations: 7.625 kB / 0.5053 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.5795, allocations: 23.03 kB / 0.5053 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.5801, allocations: 286.7 kB / 0.5056 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.5802, allocations: 11.8 kB / 0.5056 GB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.5802, allocations: 3.844 kB / 0.5056 GB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001522/0.5804, allocations: 41.8 kB / 0.5057 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.5807, allocations: 144.8 kB / 0.5058 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5807, allocations: 0 / 0.5058 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.5808, allocations: 0 / 0.5058 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5808, allocations: 3.781 kB / 0.5058 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.5814, allocations: 371.3 kB / 0.5062 GB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.5817, allocations: 108.4 kB / 0.5063 GB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.5818, allocations: 53.19 kB / 0.5063 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.5818, allocations: 3.594 kB / 0.5063 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.582, allocations: 75.61 kB / 0.5064 GB, free: 9.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.582, allocations: 0 / 0.5064 GB, free: 9.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003656/0.5824, allocations: 120.9 kB / 0.5065 GB, free: 9.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.5825, allocations: 162.3 kB / 0.5066 GB, free: 9.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.5829, allocations: 280 kB / 0.5069 GB, free: 8.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5829, allocations: 29.52 kB / 0.5069 GB, free: 8.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5831, allocations: 128 kB / 0.5071 GB, free: 8.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.5831, allocations: 26.62 kB / 0.5071 GB, free: 8.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.5832, allocations: 0 / 0.5071 GB, free: 8.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.5833, allocations: 341 kB / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.5833, allocations: 22.75 kB / 0.5074 GB, free: 8.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5835, allocations: 91.06 kB / 0.5075 GB, free: 8.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.5835, allocations: 22.5 kB / 0.5075 GB, free: 8.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5836, allocations: 0 / 0.5075 GB, free: 8.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002511/0.5838, allocations: 117.7 kB / 0.5077 GB, free: 8.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5839, allocations: 7.703 kB / 0.5077 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5839, allocations: 3.688 kB / 0.5077 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5839, allocations: 0 / 0.5077 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.5841, allocations: 19.47 kB / 0.5077 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5841, allocations: 3.656 kB / 0.5077 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5843, allocations: 8.016 kB / 0.5077 GB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.5843, allocations: 7.594 kB / 0.5077 GB, free: 8.355 MB / 330.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.0001078/0.5844, allocations: 115 kB / 0.5078 GB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.5846, allocations: 68.47 kB / 0.5079 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.5849, allocations: 111.6 kB / 0.508 GB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5849, allocations: 0 / 0.508 GB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5849, allocations: 0 / 0.508 GB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5849, allocations: 3.844 kB / 0.508 GB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.5852, allocations: 224.7 kB / 0.5082 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5852, allocations: 3.938 kB / 0.5082 GB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.5853, allocations: 23.47 kB / 0.5082 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5854, allocations: 0 / 0.5082 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.5854, allocations: 3.938 kB / 0.5082 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5854, allocations: 0 / 0.5082 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5854, allocations: 0 / 0.5082 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.5857, allocations: 188.1 kB / 0.5084 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.5859, allocations: 127.5 kB / 0.5085 GB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.586, allocations: 3.891 kB / 0.5085 GB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5861, allocations: 11.78 kB / 0.5086 GB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.5862, allocations: 7.828 kB / 0.5086 GB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.5862, allocations: 7.844 kB / 0.5086 GB, free: 7.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.5865, allocations: 225.5 kB / 0.5088 GB, free: 7.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5865, allocations: 3.844 kB / 0.5088 GB, free: 7.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.587, allocations: 42.16 kB / 0.5088 GB, free: 7.551 MB / 330.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.001196/0.5882, allocations: 372.1 kB / 0.5092 GB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.5886, allocations: 80.05 kB / 0.5093 GB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5886, allocations: 4.062 kB / 0.5093 GB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.5887, allocations: 25.88 kB / 0.5093 GB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.5893, allocations: 69.73 kB / 0.5094 GB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.59, allocations: 274.8 kB / 0.5096 GB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.5903, allocations: 0.7479 MB / 0.5103 GB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.5905, allocations: 28.47 kB / 0.5104 GB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.5906, allocations: 19.12 kB / 0.5104 GB, free: 6.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5906, allocations: 0 / 0.5104 GB, free: 6.32 MB / 330.7 MB Notification: Performance of Templates: time 0.008517/0.5991, allocations: 2.581 MB / 0.5129 GB, free: 5.023 MB / 330.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/jenkins1/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