Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001172/0.001172, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 51.89 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004551/0.1349, allocations: 1.746 MB / 352.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1364, allocations: 0.6116 MB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1366, allocations: 7.938 kB / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1369, allocations: 19.8 kB / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1372, allocations: 48.45 kB / 353.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1377, allocations: 121.8 kB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1379, allocations: 151.7 kB / 353.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1381, allocations: 29.55 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1383, allocations: 75.69 kB / 353.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1386, allocations: 111.6 kB / 353.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.1386, allocations: 16 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.1387, allocations: 12 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1388, allocations: 59.81 kB / 353.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1389, allocations: 95.45 kB / 353.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1393, allocations: 195.6 kB / 354 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1393, allocations: 0 / 354 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1393, allocations: 4 kB / 354 MB, free: 1.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1393, allocations: 0 / 354 MB, free: 1.102 MB / 286.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.001179/0.1405, allocations: 0.5064 MB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1405, allocations: 11.89 kB / 354.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.1406, allocations: 28.66 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.141, allocations: 248.3 kB / 354.8 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.1411, allocations: 32.23 kB / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1411, allocations: 16.38 kB / 354.9 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1423, allocations: 0.6226 MB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1423, allocations: 7.938 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1424, allocations: 4 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.1424, allocations: 15.98 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.1428, allocations: 191.8 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1433, allocations: 366.2 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.1438, allocations: 247.7 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1441, allocations: 154.6 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.1441, allocations: 4 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1442, allocations: 42.5 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.1442, allocations: 4 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009049/0.1451, allocations: 417.8 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.1452, allocations: 142.6 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1454, allocations: 167.4 kB / 357.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1454, allocations: 33.83 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.1455, allocations: 101.1 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.1456, allocations: 47.53 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1457, allocations: 74.14 kB / 357.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1458, allocations: 334.8 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.146, allocations: 80.81 kB / 357.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.1463, allocations: 318.7 kB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.1468, allocations: 416.9 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1468, allocations: 0 / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000683/0.1475, allocations: 409 kB / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1475, allocations: 8 kB / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1475, allocations: 8 kB / 359 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.1476, allocations: 12 kB / 359 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.1479, allocations: 88.48 kB / 359.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.1479, allocations: 11.94 kB / 359.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1481, allocations: 39.69 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1481, allocations: 24 kB / 359.2 MB, free: 11.44 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.0002125/0.1483, allocations: 195.4 kB / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.1489, allocations: 297.2 kB / 359.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.1489, allocations: 30.66 kB / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.149, allocations: 4 kB / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.149, allocations: 0 / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.149, allocations: 11.98 kB / 359.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1493, allocations: 241.3 kB / 359.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1493, allocations: 8 kB / 359.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1496, allocations: 63.89 kB / 360 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1496, allocations: 0 / 360 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.1496, allocations: 8 kB / 360 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1496, allocations: 0 / 360 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.1496, allocations: 11.92 kB / 360 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.1504, allocations: 435.3 kB / 360.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.1506, allocations: 128.8 kB / 360.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.1507, allocations: 19.98 kB / 360.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1509, allocations: 11.98 kB / 360.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1509, allocations: 0 / 360.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1509, allocations: 12 kB / 360.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1511, allocations: 132.5 kB / 360.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.1511, allocations: 4 kB / 360.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.1515, allocations: 52 kB / 360.8 MB, free: 9.703 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.0001865/0.1517, allocations: 107.9 kB / 360.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.1524, allocations: 352.6 kB / 361.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1524, allocations: 3.938 kB / 361.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.1525, allocations: 8 kB / 361.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.1532, allocations: 220.3 kB / 361.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1547, allocations: 0.5762 MB / 362 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.1552, allocations: 0.7761 MB / 362.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.1553, allocations: 23.44 kB / 362.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1553, allocations: 0 / 362.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006812/0.1621, allocations: 2.954 MB / 365.8 MB, free: 4.641 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches