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.001041/0.001041, allocations: 173.4 kB / 16.76 MB, free: 4.934 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.341/1.341, allocations: 205 MB / 222.5 MB, free: 9.062 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.0007495/0.0007497, allocations: 97.67 kB / 270.5 MB, free: 8.652 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.06936/0.06936, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00062/0.0006198, allocations: 16.23 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1007, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.002114/0.1028, allocations: 1.473 MB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1041, allocations: 0.632 MB / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1043, allocations: 11.94 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1045, allocations: 15.86 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1048, allocations: 31.84 kB / 443.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.1053, allocations: 103.8 kB / 444 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1056, allocations: 147.6 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1057, allocations: 33.55 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1058, allocations: 67.69 kB / 444.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1061, allocations: 91.64 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1061, allocations: 8 kB / 444.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.1062, allocations: 4 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.1063, allocations: 59.81 kB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.1064, allocations: 83.47 kB / 444.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1066, allocations: 136 kB / 444.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1066, allocations: 0 / 444.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1066, allocations: 0 / 444.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1066, allocations: 0 / 444.6 MB, free: 13.48 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.0008204/0.1074, allocations: 482.6 kB / 445 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1075, allocations: 12.03 kB / 445.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.1076, allocations: 28.66 kB / 445.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1079, allocations: 251.8 kB / 445.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.1079, allocations: 16.38 kB / 445.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.108, allocations: 16.38 kB / 445.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.1093, allocations: 0.6415 MB / 446 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1094, allocations: 0 / 446 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1094, allocations: 4 kB / 446 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.1094, allocations: 15.98 kB / 446 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.11, allocations: 195.7 kB / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1105, allocations: 374.2 kB / 446.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.111, allocations: 243.5 kB / 446.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.1113, allocations: 168.1 kB / 447 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.1114, allocations: 12 kB / 447 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1114, allocations: 38.5 kB / 447 MB, free: 10.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.1115, allocations: 0 / 447 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.001158/0.1126, allocations: 429.2 kB / 447.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.1127, allocations: 138.8 kB / 447.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1129, allocations: 163.4 kB / 447.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1129, allocations: 37.69 kB / 447.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.113, allocations: 101.1 kB / 447.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.113, allocations: 47.53 kB / 447.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.1131, allocations: 41.83 kB / 448 MB, free: 9.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.1132, allocations: 338.8 kB / 448.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1134, allocations: 76.81 kB / 448.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.1137, allocations: 322.7 kB / 448.7 MB, free: 8.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.1143, allocations: 420.9 kB / 449.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.1143, allocations: 4 kB / 449.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008345/0.1151, allocations: 409 kB / 449.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1152, allocations: 8 kB / 449.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1152, allocations: 8.312 kB / 449.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.1152, allocations: 12 kB / 449.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.1156, allocations: 88.52 kB / 449.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1156, allocations: 23.94 kB / 449.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.1159, allocations: 35.72 kB / 449.7 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.116, allocations: 27.98 kB / 449.7 MB, free: 7.82 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,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.0001865/0.1162, allocations: 186.3 kB / 449.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/0.1169, allocations: 294.3 kB / 450.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.905e-05/0.117, allocations: 30.66 kB / 450.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.117, allocations: 4 kB / 450.2 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.117, allocations: 7.984 kB / 450.2 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.117, allocations: 7.984 kB / 450.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1173, allocations: 245.2 kB / 450.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1174, allocations: 4 kB / 450.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.1178, allocations: 63.89 kB / 450.5 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1178, allocations: 0 / 450.5 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.1179, allocations: 12 kB / 450.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1179, allocations: 7.938 kB / 450.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1179, allocations: 0 / 450.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.1187, allocations: 452 kB / 451 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1188, allocations: 128.7 kB / 451.1 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.1189, allocations: 23.92 kB / 451.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1191, allocations: 12 kB / 451.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.1192, allocations: 7.984 kB / 451.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1192, allocations: 12 kB / 451.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.639e-05/0.1193, allocations: 127.2 kB / 451.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1193, allocations: 0 / 451.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006454/0.12, allocations: 48 kB / 451.3 MB, free: 6.078 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 0.000123/0.1201, allocations: 113.3 kB / 451.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.1208, allocations: 297.4 kB / 451.7 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1208, allocations: 4 kB / 451.7 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.1209, allocations: 8.375 kB / 451.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.1218, allocations: 227.7 kB / 452 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1236, allocations: 0.6509 MB / 452.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1238, allocations: 0.7803 MB / 453.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.1239, allocations: 27.42 kB / 453.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1239, allocations: 0 / 453.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of Templates: time 0.005715/0.1296, allocations: 2.913 MB / 456.3 MB, free: 1.012 MB / 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