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.00103/0.001029, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.362/1.362, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.000695/0.000695, allocations: 85 kB / 270.9 MB, free: 8.355 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.07029/0.07029, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07167, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001349/0.07306, allocations: 1.297 MB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.07374, allocations: 0.535 MB / 444.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.07385, allocations: 4 kB / 444.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.07389, allocations: 3.938 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.074, allocations: 7.938 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.07425, allocations: 51.83 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.07434, allocations: 51.78 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.07444, allocations: 19.98 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.07451, allocations: 23.86 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.07456, allocations: 23.86 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.07458, allocations: 0 / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.0746, allocations: 4 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.07464, allocations: 19.86 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.07466, allocations: 37.64 kB / 445.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.217e-05/0.07473, allocations: 39.92 kB / 445.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.07474, allocations: 4 kB / 445.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07474, allocations: 0 / 445.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.07475, allocations: 0 / 445.2 MB, free: 13.65 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.000386/0.07514, allocations: 375.2 kB / 445.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.07518, allocations: 8.031 kB / 445.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.07522, allocations: 15.81 kB / 445.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.07539, allocations: 206.8 kB / 445.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.0754, allocations: 7.938 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.07542, allocations: 8 kB / 445.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.07568, allocations: 134.7 kB / 445.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.0757, allocations: 0 / 445.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.07572, allocations: 4 kB / 445.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.07573, allocations: 4 kB / 445.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.07582, allocations: 31.92 kB / 445.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.07608, allocations: 291.4 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.07619, allocations: 94.42 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.07626, allocations: 47.48 kB / 446.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.07629, allocations: 0 / 446.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.07631, allocations: 42.5 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.07631, allocations: 0 / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002536/0.07657, allocations: 109.7 kB / 446.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.07662, allocations: 136.5 kB / 446.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.07671, allocations: 154.3 kB / 446.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.07672, allocations: 25.7 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.07676, allocations: 92.55 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.07678, allocations: 4 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.07678, allocations: 4 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.07683, allocations: 322.8 kB / 447.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.07688, allocations: 15.98 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.07694, allocations: 53.14 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.077, allocations: 19.94 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.077, allocations: 0 / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001347/0.07714, allocations: 89.45 kB / 447.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.07717, allocations: 11.94 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.07718, allocations: 0 / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.07719, allocations: 4 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.07728, allocations: 15.98 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.07729, allocations: 0 / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.07734, allocations: 4 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.07736, allocations: 12.19 kB / 447.4 MB, free: 11.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.07742, allocations: 134.3 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.07751, allocations: 69.53 kB / 447.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.07754, allocations: 11.83 kB / 447.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.07755, allocations: 4 kB / 447.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.07756, allocations: 0 / 447.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.07756, allocations: 4 kB / 447.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.07769, allocations: 181.5 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0777, allocations: 4.094 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.07777, allocations: 15.98 kB / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.07778, allocations: 0 / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.0778, allocations: 4 kB / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0778, allocations: 0 / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.07781, allocations: 0 / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.07796, allocations: 210 kB / 448.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.07801, allocations: 93 kB / 448.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.07803, allocations: 7.984 kB / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.07811, allocations: 4 kB / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.07814, allocations: 0 / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.07815, allocations: 11.94 kB / 448.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.07821, allocations: 119.1 kB / 448.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07821, allocations: 0 / 448.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.07843, allocations: 8 kB / 448.3 MB, free: 10.06 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 (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 7.055e-05/0.07851, allocations: 95.25 kB / 448.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.07865, allocations: 48.16 kB / 448.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.07866, allocations: 4.062 kB / 448.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.0787, allocations: 12 kB / 448.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.07907, allocations: 41.42 kB / 448.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.07939, allocations: 257.6 kB / 448.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.07952, allocations: 0.7004 MB / 449.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.07955, allocations: 11.44 kB / 449.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.07955, allocations: 0 / 449.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of Templates: time 0.001911/0.08147, allocations: 1.006 MB / 450.5 MB, free: 7.824 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