Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 173.9 kB / 16.8 MB, free: 5.004 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.327/1.327, allocations: 205.4 MB / 223 MB, free: 8.93 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.0008054/0.0008053, allocations: 93.27 kB / 271.3 MB, free: 8.227 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.07173/0.07173, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08092, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001457/0.08243, allocations: 1.325 MB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.08311, allocations: 0.5269 MB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.08321, allocations: 4 kB / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.08325, allocations: 3.938 kB / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.08339, allocations: 15.91 kB / 445.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.08364, allocations: 59.77 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.211e-05/0.08373, allocations: 51.86 kB / 445.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.08384, allocations: 19.97 kB / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.08392, allocations: 31.8 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.08397, allocations: 15.86 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.084, allocations: 4 kB / 445.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.08402, allocations: 4 kB / 445.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.08408, allocations: 15.92 kB / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.08412, allocations: 53.45 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.424e-05/0.08419, allocations: 39.92 kB / 445.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.0842, allocations: 0 / 445.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.08421, allocations: 0 / 445.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.08422, allocations: 0 / 445.9 MB, free: 13.23 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003775/0.0846, allocations: 383.4 kB / 446.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.08464, allocations: 8.031 kB / 446.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.08468, allocations: 16.75 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.08484, allocations: 208 kB / 446.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.08485, allocations: 384 / 446.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.08487, allocations: 4.375 kB / 446.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.08511, allocations: 147 kB / 446.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.08513, allocations: 0 / 446.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.08515, allocations: 4 kB / 446.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.08516, allocations: 0 / 446.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.08524, allocations: 31.92 kB / 446.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.0855, allocations: 287.4 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.08561, allocations: 98.42 kB / 447 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.08569, allocations: 47.48 kB / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.08571, allocations: 0 / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.08574, allocations: 42.48 kB / 447.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.08574, allocations: 4 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002553/0.086, allocations: 101.4 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.08606, allocations: 141 kB / 447.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.08616, allocations: 158.3 kB / 447.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.08617, allocations: 25.7 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.08621, allocations: 96.06 kB / 447.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.08623, allocations: 4 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.08624, allocations: 0 / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.08629, allocations: 322.8 kB / 447.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.08633, allocations: 16 kB / 448 MB, free: 10.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.08638, allocations: 49.14 kB / 448 MB, free: 10.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.08648, allocations: 73.02 kB / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.08649, allocations: 0 / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001277/0.08662, allocations: 89.61 kB / 448.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.08664, allocations: 12.03 kB / 448.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.08665, allocations: 0 / 448.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.08667, allocations: 4 kB / 448.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.08675, allocations: 15.98 kB / 448.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.08677, allocations: 0 / 448.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.08682, allocations: 7.938 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.08684, allocations: 4 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.992e-05/0.0869, allocations: 126.6 kB / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.08698, allocations: 73.53 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.08702, allocations: 15.83 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.08703, allocations: 0 / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.08704, allocations: 0 / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.08705, allocations: 4 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.08717, allocations: 189.4 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08718, allocations: 0 / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.08725, allocations: 15.98 kB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.08726, allocations: 0 / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.08727, allocations: 12.22 kB / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.08728, allocations: 0 / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08729, allocations: 0 / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.08744, allocations: 205.9 kB / 448.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.08749, allocations: 93 kB / 448.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.08752, allocations: 7.984 kB / 448.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.08759, allocations: 4 kB / 448.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.08762, allocations: 0 / 448.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.08764, allocations: 7.984 kB / 448.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.08769, allocations: 115.1 kB / 449.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0877, allocations: 3.938 kB / 449.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.08791, allocations: 12 kB / 449.1 MB, free: 9.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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 7.371e-05/0.08799, allocations: 95.25 kB / 449.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.08814, allocations: 51.84 kB / 449.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08815, allocations: 0 / 449.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.08819, allocations: 8.375 kB / 449.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.08862, allocations: 48.02 kB / 449.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.08899, allocations: 265.5 kB / 449.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.08913, allocations: 0.7004 MB / 450.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.08916, allocations: 7.438 kB / 450.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.08917, allocations: 4 kB / 450.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of Templates: time 0.001952/0.09113, allocations: 1.002 MB / 451.2 MB, free: 7.328 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches