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.00127/0.00127, allocations: 96.7 kB / 15.74 MB, free: 424 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.00203/0.00203, allocations: 171.5 kB / 16.62 MB, free: 6.555 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.899/1.899, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.08378/0.08378, allocations: 12.61 MB / 283.7 MB, free: 8.914 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.0008373/0.0008375, allocations: 16 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1196, allocations: 50.38 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.003463/0.1232, allocations: 1.427 MB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1251, allocations: 0.6324 MB / 397 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.1254, allocations: 7.938 kB / 397 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1257, allocations: 11.92 kB / 397 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1261, allocations: 35.78 kB / 397 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1267, allocations: 103.8 kB / 397.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.127, allocations: 139.6 kB / 397.3 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1272, allocations: 33.47 kB / 397.3 MB, free: 420 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1274, allocations: 55.77 kB / 397.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1276, allocations: 95.58 kB / 397.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1276, allocations: 8 kB / 397.5 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.703e-05/0.1277, allocations: 8 kB / 397.5 MB, free: 252 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1278, allocations: 51.83 kB / 397.5 MB, free: 200 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.1279, allocations: 57.62 kB / 397.6 MB, free: 136 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1281, allocations: 132 kB / 397.7 MB, free: 4 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1281, allocations: 7.984 kB / 397.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1281, allocations: 0 / 397.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1281, allocations: 4 kB / 397.7 MB, free: 15.99 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.001255/0.1294, allocations: 478.5 kB / 398.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.1295, allocations: 12.03 kB / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.1296, allocations: 23.72 kB / 398.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.13, allocations: 250.6 kB / 398.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.13, allocations: 16 kB / 398.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.13, allocations: 16 kB / 398.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.1313, allocations: 0.6295 MB / 399.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1313, allocations: 0 / 399.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.1313, allocations: 7.938 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.1314, allocations: 15.98 kB / 399.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.1318, allocations: 183.9 kB / 399.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1323, allocations: 382.2 kB / 399.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.1328, allocations: 243.6 kB / 399.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.133, allocations: 159.1 kB / 400.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.1331, allocations: 11.98 kB / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1331, allocations: 38.56 kB / 400.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.352e-06/0.1331, allocations: 0 / 400.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008613/0.134, allocations: 425.7 kB / 400.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.1342, allocations: 138.9 kB / 400.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1343, allocations: 167.3 kB / 400.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1344, allocations: 37.7 kB / 400.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.1345, allocations: 97.03 kB / 401 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.1345, allocations: 47.62 kB / 401 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.1345, allocations: 8 kB / 401 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1347, allocations: 338.9 kB / 401.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1349, allocations: 72.83 kB / 401.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1353, allocations: 322.7 kB / 401.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1356, allocations: 135.8 kB / 401.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1356, allocations: 4 kB / 401.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005817/0.1362, allocations: 405.5 kB / 402.3 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1362, allocations: 13.25 kB / 402.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.1362, allocations: 8 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/0.1363, allocations: 12 kB / 402.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1365, allocations: 87.78 kB / 402.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.1366, allocations: 20.23 kB / 402.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1367, allocations: 35.7 kB / 402.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1368, allocations: 20 kB / 402.5 MB, free: 10.81 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 (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.0002269/0.137, allocations: 189.6 kB / 402.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/0.1375, allocations: 290.4 kB / 402.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.1376, allocations: 34.64 kB / 403 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1376, allocations: 4 kB / 403 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1376, allocations: 0 / 403 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.1377, allocations: 11.92 kB / 403 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1379, allocations: 249.2 kB / 403.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1379, allocations: 0 / 403.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1382, allocations: 67.91 kB / 403.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1382, allocations: 0 / 403.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.1383, allocations: 11.98 kB / 403.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.1383, allocations: 11.94 kB / 403.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1383, allocations: 0 / 403.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.1389, allocations: 451.9 kB / 403.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1391, allocations: 128.8 kB / 403.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.1391, allocations: 12 kB / 403.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1393, allocations: 15.98 kB / 403.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1393, allocations: 4 kB / 403.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.1393, allocations: 15.98 kB / 403.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.1394, allocations: 123.2 kB / 404.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1394, allocations: 0 / 404.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.1398, allocations: 56 kB / 404.1 MB, free: 9.07 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 (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.0001813/0.14, allocations: 107.2 kB / 404.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.1405, allocations: 296.9 kB / 404.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1405, allocations: 0 / 404.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.1406, allocations: 12 kB / 404.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.1413, allocations: 219.7 kB / 404.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1426, allocations: 0.6151 MB / 405.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.143, allocations: 0.7725 MB / 406.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.1431, allocations: 38.14 kB / 406.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.1432, allocations: 27.42 kB / 406.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1432, allocations: 0 / 406.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Templates: time 0.005645/0.1489, allocations: 2.298 MB / 408.5 MB, free: 4.641 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