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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008165, allocations: 102.5 kB / 16.07 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007284/0.0007284, allocations: 183 kB / 16.97 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06127/0.06127, allocations: 12.61 MB / 284 MB, free: 8.84 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.0006519, allocations: 27.98 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07147/0.07213, allocations: 50.37 MB / 395.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.001783/0.07394, allocations: 1.462 MB / 397 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.07492, allocations: 0.6204 MB / 397.6 MB, free: 372 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.07506, allocations: 7.938 kB / 397.6 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.0752, allocations: 15.86 kB / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.07539, allocations: 35.83 kB / 397.7 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.07576, allocations: 119.8 kB / 397.8 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.07594, allocations: 147.6 kB / 397.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.07606, allocations: 33.53 kB / 398 MB, free: 12 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.07619, allocations: 63.72 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.07639, allocations: 99.62 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.07642, allocations: 4 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.07645, allocations: 8 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.07652, allocations: 55.81 kB / 398.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.891e-05/0.07663, allocations: 117.2 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.0768, allocations: 179.5 kB / 398.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.07681, allocations: 0 / 398.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07682, allocations: 0 / 398.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.07683, allocations: 0 / 398.5 MB, free: 15.49 MB / 302.1 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.0006861/0.07752, allocations: 482.7 kB / 399 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.07756, allocations: 12.03 kB / 399 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.07762, allocations: 24.66 kB / 399 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.07786, allocations: 243.8 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.07789, allocations: 20.31 kB / 399.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.07793, allocations: 16.38 kB / 399.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.07888, allocations: 0.6415 MB / 399.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.0789, allocations: 0 / 399.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.07893, allocations: 8 kB / 399.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.07896, allocations: 11.98 kB / 399.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.07932, allocations: 191.8 kB / 400.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.07973, allocations: 374.2 kB / 400.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.08013, allocations: 243.6 kB / 400.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.08039, allocations: 171.1 kB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.08043, allocations: 8 kB / 400.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.08046, allocations: 38.5 kB / 400.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.472e-06/0.08046, allocations: 4 kB / 400.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007689/0.08124, allocations: 429.7 kB / 401.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.08134, allocations: 130.9 kB / 401.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.08148, allocations: 171.4 kB / 401.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.0815, allocations: 29.7 kB / 401.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.08157, allocations: 105.1 kB / 401.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.08161, allocations: 47.72 kB / 401.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.08166, allocations: 37.7 kB / 401.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.08178, allocations: 338.8 kB / 402.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.0819, allocations: 76.77 kB / 402.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.08216, allocations: 326.7 kB / 402.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.08256, allocations: 420.9 kB / 403 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.08257, allocations: 4 kB / 403 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000537/0.08312, allocations: 412.8 kB / 403.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.08314, allocations: 8 kB / 403.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.08316, allocations: 15.94 kB / 403.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.08318, allocations: 8.781 kB / 403.4 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.0834, allocations: 87.84 kB / 403.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.08343, allocations: 19.92 kB / 403.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.08358, allocations: 31.78 kB / 403.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.08361, allocations: 24 kB / 403.6 MB, free: 9.844 MB / 302.1 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.0001463/0.08376, allocations: 185.5 kB / 403.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.08421, allocations: 290.2 kB / 404.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.08429, allocations: 34.64 kB / 404.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0843, allocations: 8 kB / 404.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.08431, allocations: 0 / 404.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.08432, allocations: 7.984 kB / 404.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.08453, allocations: 249.2 kB / 404.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.08455, allocations: 4 kB / 404.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.08478, allocations: 63.89 kB / 404.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.0848, allocations: 4 kB / 404.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.08482, allocations: 8 kB / 404.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.08483, allocations: 4 kB / 404.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.08484, allocations: 3.938 kB / 404.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.08539, allocations: 452 kB / 404.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.08549, allocations: 128.7 kB / 405 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.08555, allocations: 19.98 kB / 405 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.08569, allocations: 12 kB / 405 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.08572, allocations: 4 kB / 405.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.08575, allocations: 15.98 kB / 405.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.08583, allocations: 127.2 kB / 405.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08584, allocations: 0 / 405.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000348/0.08619, allocations: 52 kB / 405.2 MB, free: 8.102 MB / 302.1 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.0001205/0.08632, allocations: 119 kB / 405.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.08678, allocations: 301.2 kB / 405.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.08679, allocations: 0.5625 kB / 405.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.08684, allocations: 12 kB / 405.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.08748, allocations: 228 kB / 405.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.08858, allocations: 0.626 MB / 406.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.08889, allocations: 0.7803 MB / 407.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.08896, allocations: 26.22 kB / 407.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.08903, allocations: 31.42 kB / 407.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.08903, allocations: 0 / 407.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of Templates: time 0.004749/0.09379, allocations: 2.388 MB / 409.7 MB, free: 3.547 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/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