Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009149/0.000915, allocations: 174.2 kB / 16.8 MB, free: 5.012 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.299/1.299, allocations: 205.4 MB / 223 MB, free: 9.008 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.0006998/0.0006998, allocations: 86.38 kB / 271.3 MB, free: 8.242 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.06554/0.06554, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07796, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.001655/0.07966, allocations: 1.461 MB / 445.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.08055, allocations: 0.6165 MB / 445.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.08071, allocations: 7.938 kB / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.08085, allocations: 15.92 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.08106, allocations: 31.84 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.08142, allocations: 111.7 kB / 445.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.08158, allocations: 151.5 kB / 446.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.08169, allocations: 33.53 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.0818, allocations: 55.78 kB / 446.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.08197, allocations: 95.62 kB / 446.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.08202, allocations: 8 kB / 446.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.08205, allocations: 4 kB / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.08212, allocations: 59.81 kB / 446.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.0822, allocations: 113.2 kB / 446.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.08232, allocations: 136 kB / 446.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.08234, allocations: 0 / 446.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08234, allocations: 0 / 446.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.08235, allocations: 7.938 kB / 446.6 MB, free: 12.51 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005935/0.08295, allocations: 482.6 kB / 447.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08299, allocations: 8.031 kB / 447.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.08305, allocations: 24.66 kB / 447.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.08328, allocations: 251.8 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.08332, allocations: 16.38 kB / 447.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.08335, allocations: 16.38 kB / 447.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.08421, allocations: 0.6454 MB / 448 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.08423, allocations: 0 / 448 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.08425, allocations: 8 kB / 448 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.08428, allocations: 15.92 kB / 448 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.08462, allocations: 191.8 kB / 448.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.08495, allocations: 370.2 kB / 448.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.0853, allocations: 239.6 kB / 448.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.08553, allocations: 172.1 kB / 449 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.08557, allocations: 8 kB / 449 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.08559, allocations: 38.56 kB / 449 MB, free: 9.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.513e-06/0.0856, allocations: 0 / 449 MB, free: 9.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006872/0.08629, allocations: 441.2 kB / 449.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.08637, allocations: 130.7 kB / 449.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.08647, allocations: 167.4 kB / 449.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.0865, allocations: 29.7 kB / 449.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.08654, allocations: 101.1 kB / 449.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.08658, allocations: 43.59 kB / 449.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.08659, allocations: 8.125 kB / 449.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.08665, allocations: 338.8 kB / 450.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.08676, allocations: 76.81 kB / 450.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.08694, allocations: 330.7 kB / 450.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.08725, allocations: 420.8 kB / 451.1 MB, free: 7.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.08726, allocations: 4 kB / 451.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000466/0.08774, allocations: 409 kB / 451.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.08777, allocations: 8 kB / 451.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.08778, allocations: 8 kB / 451.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.0878, allocations: 12 kB / 451.5 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.08802, allocations: 88.45 kB / 451.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.08804, allocations: 15.94 kB / 451.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.08819, allocations: 43.72 kB / 451.6 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.08822, allocations: 24 kB / 451.7 MB, free: 6.898 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001205/0.08834, allocations: 182.4 kB / 451.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.08874, allocations: 302.5 kB / 452.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.08881, allocations: 38.66 kB / 452.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.08882, allocations: 4 kB / 452.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.08883, allocations: 3.938 kB / 452.2 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.08885, allocations: 7.984 kB / 452.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.08901, allocations: 245.2 kB / 452.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.08902, allocations: 0 / 452.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.08926, allocations: 67.89 kB / 452.5 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.08928, allocations: 4 kB / 452.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.0893, allocations: 8 kB / 452.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.08931, allocations: 0 / 452.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.08932, allocations: 4 kB / 452.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.08978, allocations: 451.9 kB / 453 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.08988, allocations: 132.7 kB / 453.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.08993, allocations: 19.98 kB / 453.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.09007, allocations: 8 kB / 453.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.09011, allocations: 11.97 kB / 453.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.09013, allocations: 16 kB / 453.1 MB, free: 5.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.256e-05/0.0902, allocations: 127.2 kB / 453.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09021, allocations: 0 / 453.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.09055, allocations: 48 kB / 453.3 MB, free: 5.148 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 9.243e-05/0.09065, allocations: 116.6 kB / 453.4 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.09106, allocations: 289.7 kB / 453.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.09107, allocations: 0 / 453.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.09112, allocations: 12 kB / 453.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.09174, allocations: 231.9 kB / 454 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.09284, allocations: 0.6627 MB / 454.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.09304, allocations: 0.7803 MB / 455.4 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.09312, allocations: 27.42 kB / 455.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.09312, allocations: 0 / 455.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004217/0.09734, allocations: 2.914 MB / 458.3 MB, free: 68 kB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches