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.001409/0.001409, allocations: 98.81 kB / 16.02 MB, free: 5.883 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.001198/0.001198, allocations: 191.6 kB / 16.95 MB, free: 5.727 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.786/1.786, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.08997/0.08997, allocations: 12.59 MB / 282.7 MB, free: 8.805 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.001944/0.001944, allocations: 79.89 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 49.41 MB / 392.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.004019/0.1286, allocations: 1.808 MB / 394.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1299, allocations: 0.6476 MB / 394.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1301, allocations: 7.938 kB / 394.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1303, allocations: 7.922 kB / 394.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1306, allocations: 35.84 kB / 394.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1311, allocations: 107.8 kB / 395 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1313, allocations: 159.5 kB / 395.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.1315, allocations: 33.53 kB / 395.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1316, allocations: 71.77 kB / 395.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1319, allocations: 111.6 kB / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.1319, allocations: 12 kB / 395.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.1319, allocations: 16 kB / 395.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.132, allocations: 63.83 kB / 395.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.1321, allocations: 95.44 kB / 395.5 MB, free: 416 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1324, allocations: 195.6 kB / 395.7 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1324, allocations: 0 / 395.7 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1324, allocations: 3.938 kB / 395.7 MB, free: 216 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1324, allocations: 0 / 395.7 MB, free: 216 kB / 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.000939/0.1333, allocations: 0.5025 MB / 396.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1334, allocations: 8.031 kB / 396.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.1335, allocations: 28.66 kB / 396.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1338, allocations: 243.8 kB / 396.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.1338, allocations: 12.38 kB / 396.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1338, allocations: 24.31 kB / 396.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.135, allocations: 0.6415 MB / 397.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.135, allocations: 0 / 397.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.135, allocations: 8 kB / 397.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.1351, allocations: 19.92 kB / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.1355, allocations: 179.8 kB / 397.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.136, allocations: 374.2 kB / 397.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.1365, allocations: 239.7 kB / 398 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1368, allocations: 163.1 kB / 398.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.1368, allocations: 11.98 kB / 398.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1369, allocations: 38.56 kB / 398.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.402e-06/0.1369, allocations: 0 / 398.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009045/0.1378, allocations: 421.9 kB / 398.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1379, allocations: 138.7 kB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1381, allocations: 171.3 kB / 398.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1382, allocations: 33.7 kB / 398.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.1382, allocations: 105.1 kB / 399 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.1383, allocations: 39.59 kB / 399.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.1384, allocations: 70.14 kB / 399.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1386, allocations: 338.8 kB / 399.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1387, allocations: 76.81 kB / 399.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.1391, allocations: 322.7 kB / 399.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.1396, allocations: 420.8 kB / 400.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.1396, allocations: 7.938 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006283/0.1403, allocations: 401.5 kB / 400.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.1403, allocations: 8.219 kB / 400.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.1404, allocations: 12 kB / 400.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.1404, allocations: 12 kB / 400.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.1407, allocations: 83.84 kB / 400.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/0.1407, allocations: 19.92 kB / 400.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1409, allocations: 35.69 kB / 400.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.1409, allocations: 20 kB / 400.9 MB, free: 10.54 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.000286/0.1413, allocations: 181.6 kB / 401.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.1418, allocations: 302.2 kB / 401.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1419, allocations: 30.66 kB / 401.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1419, allocations: 4 kB / 401.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.142, allocations: 4 kB / 401.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.142, allocations: 3.984 kB / 401.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1424, allocations: 245.3 kB / 401.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1424, allocations: 0 / 401.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1427, allocations: 63.89 kB / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1427, allocations: 0 / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.1427, allocations: 16 kB / 401.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1427, allocations: 8 kB / 401.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1427, allocations: 0 / 401.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.1435, allocations: 447.9 kB / 402.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1436, allocations: 132.7 kB / 402.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.1437, allocations: 19.98 kB / 402.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1439, allocations: 12 kB / 402.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.1439, allocations: 7.984 kB / 402.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1439, allocations: 12 kB / 402.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1441, allocations: 123.2 kB / 402.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1441, allocations: 4 kB / 402.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00049/0.1446, allocations: 48 kB / 402.5 MB, free: 8.805 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.0002259/0.1448, allocations: 115.2 kB / 402.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.1456, allocations: 341.2 kB / 402.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1456, allocations: 3.938 kB / 403 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.1456, allocations: 12.55 kB / 403 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.1463, allocations: 227.7 kB / 403.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1476, allocations: 0.6123 MB / 403.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.148, allocations: 0.78 MB / 404.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.1481, allocations: 18.3 kB / 404.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.1482, allocations: 31.42 kB / 404.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1482, allocations: 0 / 404.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of Templates: time 0.006248/0.1545, allocations: 2.58 MB / 407.2 MB, free: 4.043 MB / 302.1 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/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