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.0009695/0.0009696, allocations: 184 kB / 16.45 MB, free: 5.656 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 / 222.6 MB, free: 9.109 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.0007519/0.0007519, allocations: 90.3 kB / 270.9 MB, free: 8.344 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.06941/0.06941, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 16 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07165/0.07203, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.001323/0.07339, allocations: 1.266 MB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.074, allocations: 0.5039 MB / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.07409, allocations: 0 / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.07413, allocations: 11.92 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.07424, allocations: 3.938 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.07447, allocations: 47.89 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.167e-05/0.07455, allocations: 35.86 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.07464, allocations: 12.17 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.0747, allocations: 19.86 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.07476, allocations: 23.92 kB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.07478, allocations: 3.938 kB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.07479, allocations: 4 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.07483, allocations: 11.94 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.07485, allocations: 33.62 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.104e-05/0.07492, allocations: 35.94 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.07493, allocations: 0 / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.07493, allocations: 0 / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.07494, allocations: 0 / 445.1 MB, free: 13.75 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.000358/0.07531, allocations: 375.3 kB / 445.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.07534, allocations: 12.03 kB / 445.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.07538, allocations: 7.906 kB / 445.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.07553, allocations: 194.7 kB / 445.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.07555, allocations: 19.92 kB / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.07556, allocations: 0 / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.07579, allocations: 117.9 kB / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.07581, allocations: 0 / 445.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.07582, allocations: 4 kB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.07583, allocations: 3.938 kB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.07591, allocations: 27.92 kB / 445.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.07615, allocations: 278.5 kB / 446.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.07625, allocations: 67.8 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.07631, allocations: 38.62 kB / 446.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.07634, allocations: 0 / 446.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.07636, allocations: 38.55 kB / 446.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.07637, allocations: 0 / 446.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.0766, allocations: 89.64 kB / 446.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.07665, allocations: 106.8 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.07674, allocations: 145.6 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.07675, allocations: 25.7 kB / 446.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.07679, allocations: 100.3 kB / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.0768, allocations: 0 / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.07681, allocations: 0 / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.07686, allocations: 322.8 kB / 447 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.07691, allocations: 12 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.07696, allocations: 35.36 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.07701, allocations: 16 kB / 447 MB, free: 11.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.07702, allocations: 4 kB / 447.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.07714, allocations: 69.52 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.07717, allocations: 12.12 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.07718, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.07719, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.07727, allocations: 11.98 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.07729, allocations: 7.938 kB / 447.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.07734, allocations: 11.95 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.07735, allocations: 0 / 447.2 MB, free: 11.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.07741, allocations: 122.5 kB / 447.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.07748, allocations: 57.55 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.07752, allocations: 19.81 kB / 447.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.07752, allocations: 4.031 kB / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.07753, allocations: 0 / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.07754, allocations: 3.984 kB / 447.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.07766, allocations: 173.6 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.07767, allocations: 0 / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.07773, allocations: 11.98 kB / 447.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.07774, allocations: 4 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.07775, allocations: 64 / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.07776, allocations: 4 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.07777, allocations: 4 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.07791, allocations: 181 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.07795, allocations: 100.9 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.07797, allocations: 4 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.07806, allocations: 4 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.07809, allocations: 3.984 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.0781, allocations: 8 kB / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.07816, allocations: 107.2 kB / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07816, allocations: 0 / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.07837, allocations: 11.95 kB / 448 MB, free: 10.43 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 (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.156e-05/0.07843, allocations: 99.19 kB / 448.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.07857, allocations: 31.92 kB / 448.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.07858, allocations: 4 kB / 448.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.07862, allocations: 11.98 kB / 448.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.07896, allocations: 32.42 kB / 448.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.07925, allocations: 220.3 kB / 448.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.07937, allocations: 0.6926 MB / 449.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.0794, allocations: 19.38 kB / 449.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.07941, allocations: 0 / 449.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of Templates: time 0.001623/0.08104, allocations: 0.8244 MB / 449.9 MB, free: 8.438 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