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.0009936/0.0009936, allocations: 174.5 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.272/1.272, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007111/0.0007111, allocations: 96.7 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.06799/0.06799, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07152/0.07195, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.001602/0.07359, allocations: 1.418 MB / 444.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.07443, allocations: 0.6364 MB / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.07454, allocations: 3.938 kB / 445.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.07469, allocations: 15.86 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.07487, allocations: 31.83 kB / 445.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.07519, allocations: 103.8 kB / 445.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.07533, allocations: 135.6 kB / 445.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.07543, allocations: 25.5 kB / 445.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.07553, allocations: 63.75 kB / 445.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.07569, allocations: 83.72 kB / 445.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.07572, allocations: 8 kB / 445.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.07575, allocations: 4 kB / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.07582, allocations: 63.81 kB / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.07587, allocations: 61.58 kB / 445.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.07599, allocations: 135.9 kB / 445.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.076, allocations: 3.984 kB / 445.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07601, allocations: 0 / 445.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.07602, allocations: 0 / 445.8 MB, free: 12.99 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.00065/0.07668, allocations: 478.5 kB / 446.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.07672, allocations: 16.02 kB / 446.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.07678, allocations: 23.72 kB / 446.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.077, allocations: 242.5 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.07705, allocations: 27.86 kB / 446.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.07708, allocations: 16 kB / 446.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.07795, allocations: 0.6334 MB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.07797, allocations: 0 / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.07799, allocations: 4 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.07802, allocations: 12 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.07836, allocations: 199.8 kB / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.0787, allocations: 366.2 kB / 447.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.07906, allocations: 251.5 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.07929, allocations: 160.1 kB / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.07933, allocations: 8 kB / 448.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.07936, allocations: 42.5 kB / 448.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.07937, allocations: 0 / 448.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006905/0.08006, allocations: 425.2 kB / 448.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.08014, allocations: 130.7 kB / 448.8 MB, free: 9.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.08024, allocations: 175.2 kB / 449 MB, free: 9.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.08027, allocations: 33.7 kB / 449 MB, free: 9.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.08031, allocations: 97.05 kB / 449.1 MB, free: 9.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.08035, allocations: 55.89 kB / 449.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.08037, allocations: 4 kB / 449.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.08045, allocations: 342.8 kB / 449.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.08058, allocations: 76.81 kB / 449.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.08076, allocations: 322.7 kB / 449.9 MB, free: 8.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.08093, allocations: 131.9 kB / 450 MB, free: 8.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.08095, allocations: 7.938 kB / 450 MB, free: 8.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004514/0.0814, allocations: 401.2 kB / 450.4 MB, free: 7.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.08143, allocations: 11.98 kB / 450.4 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.08145, allocations: 8 kB / 450.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.08147, allocations: 16 kB / 450.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.08169, allocations: 83.84 kB / 450.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.08171, allocations: 12.44 kB / 450.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.08186, allocations: 47.69 kB / 450.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.08189, allocations: 20 kB / 450.6 MB, free: 7.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.08201, allocations: 178.5 kB / 450.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.08241, allocations: 290.6 kB / 451.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.08248, allocations: 34.64 kB / 451.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.08249, allocations: 4 kB / 451.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.08249, allocations: 0 / 451.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.0825, allocations: 0 / 451.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.08266, allocations: 257.2 kB / 451.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.08267, allocations: 0 / 451.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.08292, allocations: 63.91 kB / 451.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.08293, allocations: 3.938 kB / 451.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.08295, allocations: 15.98 kB / 451.4 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.08296, allocations: 0 / 451.4 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.08297, allocations: 4.078 kB / 451.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.08344, allocations: 463.7 kB / 451.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.08355, allocations: 124.8 kB / 452 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.08361, allocations: 20 kB / 452 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.08375, allocations: 15.98 kB / 452.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.0838, allocations: 0 / 452.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.08383, allocations: 15.98 kB / 452.1 MB, free: 6.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.08392, allocations: 127.2 kB / 452.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08393, allocations: 0 / 452.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.08427, allocations: 48 kB / 452.2 MB, free: 6.059 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 (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 0.0001602/0.08444, allocations: 120.5 kB / 452.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.08489, allocations: 288.1 kB / 452.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.08491, allocations: 1.75 kB / 452.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.08495, allocations: 15.98 kB / 452.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.08559, allocations: 215.8 kB / 452.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.0867, allocations: 0.6432 MB / 453.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.08688, allocations: 0.7842 MB / 454.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.08695, allocations: 23.44 kB / 454.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08695, allocations: 0 / 454.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of Templates: time 0.003553/0.09051, allocations: 2.908 MB / 457.2 MB, free: 1.008 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