Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.002227/0.002227, allocations: 192 kB / 18.62 MB, free: 4.41 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.493/1.493, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 50.84 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1183, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003293/0.1217, allocations: 1.735 MB / 353.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1228, allocations: 0.5414 MB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1229, allocations: 0 / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.123, allocations: 11.86 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1231, allocations: 23.8 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1235, allocations: 86.66 kB / 353.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1237, allocations: 95.69 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1238, allocations: 33.09 kB / 354 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.1239, allocations: 43.83 kB / 354.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.124, allocations: 43.78 kB / 354.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.124, allocations: 4 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.124, allocations: 8 kB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1241, allocations: 23.92 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.1242, allocations: 55.59 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1243, allocations: 111.5 kB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1244, allocations: 0 / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1244, allocations: 4 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1244, allocations: 0 / 354.3 MB, free: 0.8555 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005723/0.125, allocations: 426.9 kB / 354.7 MB, free: 400 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.125, allocations: 11.89 kB / 354.7 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1251, allocations: 24.67 kB / 354.8 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1254, allocations: 216 kB / 355 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1254, allocations: 12.38 kB / 355 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1254, allocations: 12.38 kB / 355 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.1259, allocations: 267.4 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1259, allocations: 0 / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.126, allocations: 8 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.126, allocations: 0 / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1261, allocations: 51.91 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1264, allocations: 310.5 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.1267, allocations: 131.9 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1268, allocations: 78.61 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1268, allocations: 4 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1269, allocations: 38.5 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1269, allocations: 0 / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003882/0.1273, allocations: 173.3 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.1274, allocations: 119.1 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1275, allocations: 153.9 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1276, allocations: 29.7 kB / 356.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1276, allocations: 92.12 kB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1277, allocations: 19.8 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1277, allocations: 33.72 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1278, allocations: 330.8 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.1279, allocations: 31.97 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1281, allocations: 129.7 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1283, allocations: 174.4 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1283, allocations: 4 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002695/0.1285, allocations: 181.8 kB / 357.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1286, allocations: 8 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1286, allocations: 4 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.1286, allocations: 4 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1288, allocations: 39.8 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1288, allocations: 7.938 kB / 357.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.1289, allocations: 19.92 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1289, allocations: 8.312 kB / 357.4 MB, free: 13.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001187/0.129, allocations: 149.8 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.1292, allocations: 113.4 kB / 357.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1293, allocations: 20.72 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1293, allocations: 11.97 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1293, allocations: 4 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1293, allocations: 3.938 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1295, allocations: 193.5 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1295, allocations: 4 kB / 357.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1296, allocations: 23.98 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1296, allocations: 8 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1296, allocations: 0 / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.1296, allocations: 4 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1297, allocations: 3.938 kB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1299, allocations: 245 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.13, allocations: 108.8 kB / 358.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1301, allocations: 12 kB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.1302, allocations: 0 / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1302, allocations: 11.92 kB / 358.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1302, allocations: 8 kB / 358.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.1303, allocations: 111.2 kB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1303, allocations: 0 / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1306, allocations: 24 kB / 358.4 MB, free: 12.24 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001184/0.1307, allocations: 103.2 kB / 358.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.131, allocations: 107.8 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.131, allocations: 0 / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.1311, allocations: 11.98 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.1315, allocations: 83.67 kB / 358.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.132, allocations: 273.6 kB / 359 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1323, allocations: 0.7163 MB / 359.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.1324, allocations: 13.42 kB / 359.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1324, allocations: 19.44 kB / 359.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.452e-06/0.1324, allocations: 0 / 359.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Templates: time 0.003789/0.1362, allocations: 1.199 MB / 360.9 MB, free: 9.672 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches