Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.6 kB / 16.8 MB, free: 4.988 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.335/1.335, allocations: 205.4 MB / 223 MB, free: 9.02 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.001022/0.001022, allocations: 105.4 kB / 271.3 MB, free: 8.238 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.1187/0.1187, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07239, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.001354/0.07378, allocations: 1.29 MB / 445 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.07444, allocations: 0.5075 MB / 445.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.07453, allocations: 3.938 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.07457, allocations: 3.984 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.0747, allocations: 11.94 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.07494, allocations: 43.89 kB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.07502, allocations: 47.8 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.07513, allocations: 12.19 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.0752, allocations: 31.84 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.07526, allocations: 15.86 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.07528, allocations: 4 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.0753, allocations: 0 / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.07535, allocations: 15.94 kB / 445.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.07539, allocations: 49.5 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.077e-05/0.07546, allocations: 31.94 kB / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.07547, allocations: 0 / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.07547, allocations: 0 / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.07548, allocations: 0 / 445.8 MB, free: 13.33 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.0003392/0.07583, allocations: 371.4 kB / 446.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.07586, allocations: 8.031 kB / 446.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.0759, allocations: 12.83 kB / 446.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.07604, allocations: 208 kB / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.07606, allocations: 384 / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.07607, allocations: 4.375 kB / 446.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.07631, allocations: 118 kB / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.07633, allocations: 4 kB / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.07634, allocations: 0 / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.07635, allocations: 7.984 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.07643, allocations: 27.92 kB / 446.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.07667, allocations: 270.6 kB / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.07678, allocations: 79.77 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.07684, allocations: 34.64 kB / 446.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.07687, allocations: 0 / 446.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.07689, allocations: 34.55 kB / 446.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.07689, allocations: 0 / 446.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.07713, allocations: 97.73 kB / 447 MB, free: 11.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.07717, allocations: 110.8 kB / 447.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.07726, allocations: 145.6 kB / 447.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.07728, allocations: 25.7 kB / 447.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.07731, allocations: 88.14 kB / 447.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.07732, allocations: 3.906 kB / 447.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.07733, allocations: 4 kB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.07738, allocations: 330.7 kB / 447.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.07742, allocations: 8 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.07747, allocations: 39.36 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.07756, allocations: 51.42 kB / 447.8 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.07757, allocations: 0 / 447.8 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.07769, allocations: 77.45 kB / 447.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.07771, allocations: 8.125 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.07771, allocations: 0 / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.07773, allocations: 4 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.07781, allocations: 12 kB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.07782, allocations: 0 / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.07786, allocations: 7.984 kB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.07788, allocations: 0 / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 5.397e-05/0.07794, allocations: 122.7 kB / 448 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.078, allocations: 57.53 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.07804, allocations: 15.83 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.07804, allocations: 0 / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.07805, allocations: 4 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.07806, allocations: 0 / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.07818, allocations: 173.6 kB / 448.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.07819, allocations: 4 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.07825, allocations: 8 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.07826, allocations: 3.938 kB / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.07827, allocations: 8.047 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.07828, allocations: 4 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.07829, allocations: 4 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.07842, allocations: 181.1 kB / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.07847, allocations: 93 kB / 448.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.07849, allocations: 4 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.07857, allocations: 0 / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.0786, allocations: 8 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.07861, allocations: 0 / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.07866, allocations: 111.2 kB / 448.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.07867, allocations: 0 / 448.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.07887, allocations: 11.88 kB / 448.7 MB, free: 9.984 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.435e-05/0.07894, allocations: 99.19 kB / 448.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.07907, allocations: 43.84 kB / 448.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.07908, allocations: 0 / 448.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.07912, allocations: 12 kB / 448.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.07948, allocations: 32.36 kB / 448.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.07977, allocations: 236.3 kB / 449.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.07989, allocations: 0.6926 MB / 449.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.07992, allocations: 11.44 kB / 449.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.07993, allocations: 0 / 449.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of Templates: time 0.00168/0.08161, allocations: 0.829 MB / 450.6 MB, free: 7.969 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches