Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 186 kB / 16.45 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.0007188/0.0007188, allocations: 96 kB / 270.9 MB, free: 8.367 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.07101/0.07101, allocations: 12.58 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 15.98 kB / 392.7 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08193, allocations: 50.37 MB / 443 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.001364/0.08332, allocations: 1.25 MB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.084, allocations: 0.5039 MB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.0841, allocations: 4 kB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.08414, allocations: 3.938 kB / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.08426, allocations: 3.938 kB / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.08454, allocations: 43.89 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.08462, allocations: 39.86 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.08471, allocations: 12.17 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.08478, allocations: 23.86 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.08484, allocations: 15.92 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.08486, allocations: 0 / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.08488, allocations: 4 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.08491, allocations: 15.92 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.08494, allocations: 37.64 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.076e-05/0.085, allocations: 35.88 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.08501, allocations: 0 / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08502, allocations: 4 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.08503, allocations: 0 / 445 MB, free: 13.79 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003373/0.08537, allocations: 371.3 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.08541, allocations: 12.03 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.08545, allocations: 7.906 kB / 445.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.08559, allocations: 194.8 kB / 445.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.08561, allocations: 7.938 kB / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.08563, allocations: 0 / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.08586, allocations: 117 kB / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.08588, allocations: 0 / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.08589, allocations: 0 / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.0859, allocations: 0 / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.08598, allocations: 27.92 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.08623, allocations: 265.7 kB / 446 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.08631, allocations: 49.2 kB / 446.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.08637, allocations: 25.78 kB / 446.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.08639, allocations: 0 / 446.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.08641, allocations: 34.5 kB / 446.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.08642, allocations: 0 / 446.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.08664, allocations: 77.61 kB / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.08668, allocations: 77.11 kB / 446.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.08677, allocations: 153.5 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.08678, allocations: 25.7 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.08682, allocations: 88.14 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.08683, allocations: 7.891 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.08684, allocations: 160 / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.08689, allocations: 318.8 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.08694, allocations: 8 kB / 446.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.08698, allocations: 25.7 kB / 446.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.08703, allocations: 16.05 kB / 446.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08704, allocations: 0 / 446.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.08716, allocations: 57.62 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.08718, allocations: 4 kB / 447 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.08719, allocations: 0 / 447 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.0872, allocations: 4 kB / 447 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.08728, allocations: 4 kB / 447 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.08729, allocations: 7.969 kB / 447 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.08733, allocations: 12.02 kB / 447 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.08735, allocations: 0 / 447 MB, free: 11.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.485e-05/0.0874, allocations: 118.5 kB / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.08746, allocations: 45.53 kB / 447.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.08749, allocations: 15.83 kB / 447.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.0875, allocations: 0 / 447.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.0875, allocations: 0 / 447.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08751, allocations: 0 / 447.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.08764, allocations: 177.6 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.08764, allocations: 0 / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.0877, allocations: 15.91 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.08771, allocations: 7.938 kB / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.08772, allocations: 0 / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.08773, allocations: 0 / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08773, allocations: 0 / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.08786, allocations: 176.2 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.08791, allocations: 85.02 kB / 447.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.08793, allocations: 3.984 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.088, allocations: 4 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.08803, allocations: 4 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.08804, allocations: 4 kB / 447.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.08809, allocations: 111.3 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0881, allocations: 0 / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.08832, allocations: 7.953 kB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 6.686e-05/0.08839, allocations: 91.25 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.08852, allocations: 27.92 kB / 447.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08853, allocations: 0 / 447.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.08857, allocations: 16.11 kB / 447.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.0889, allocations: 16.03 kB / 447.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.08917, allocations: 211.4 kB / 448.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.08929, allocations: 0.6926 MB / 448.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.08932, allocations: 7.438 kB / 448.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08932, allocations: 0 / 448.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of Templates: time 0.001671/0.091, allocations: 0.755 MB / 449.5 MB, free: 8.836 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches