Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009718/0.0009719, allocations: 93.77 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 194.9 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 51.53 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002076/0.126, allocations: 1.439 MB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1272, allocations: 0.5887 MB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1273, allocations: 0 / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.1274, allocations: 7.875 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1276, allocations: 15.86 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1281, allocations: 95.77 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1282, allocations: 83.7 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1284, allocations: 33.41 kB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1285, allocations: 31.86 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.1286, allocations: 43.77 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1287, allocations: 4 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.1287, allocations: 4 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.1288, allocations: 23.86 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.1289, allocations: 45.64 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.129, allocations: 71.84 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.129, allocations: 4 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1291, allocations: 3.938 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1291, allocations: 0 / 361.1 MB, free: 11.14 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006503/0.1297, allocations: 407.1 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1298, allocations: 8.031 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.13, allocations: 23.81 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1303, allocations: 219.8 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1303, allocations: 11.94 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1303, allocations: 12 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.1309, allocations: 269.5 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1309, allocations: 0 / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1309, allocations: 8 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1309, allocations: 0 / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1311, allocations: 55.97 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1314, allocations: 306.4 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1317, allocations: 135.9 kB / 362.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1318, allocations: 74.66 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1319, allocations: 3.984 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1319, allocations: 46.48 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.1319, allocations: 4 kB / 362.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004025/0.1323, allocations: 173.6 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.1324, allocations: 122.7 kB / 363 MB, free: 9.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1326, allocations: 150.2 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1326, allocations: 29.7 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1327, allocations: 100.6 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.1327, allocations: 11.91 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.1327, allocations: 4 kB / 363.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1328, allocations: 322.8 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.1329, allocations: 36.28 kB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1331, allocations: 141.5 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1332, allocations: 55.86 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1332, allocations: 7.953 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002773/0.1335, allocations: 177.6 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1335, allocations: 8 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1335, allocations: 8 kB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1336, allocations: 4 kB / 364 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1337, allocations: 35.92 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1337, allocations: 11.92 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.1338, allocations: 8 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1338, allocations: 12 kB / 364.1 MB, free: 7.879 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 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.134, allocations: 137.8 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.1342, allocations: 121.4 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1342, allocations: 20.7 kB / 364.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1342, allocations: 4 kB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1342, allocations: 0 / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1343, allocations: 0 / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1345, allocations: 201.5 kB / 364.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1345, allocations: 0 / 364.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1346, allocations: 27.94 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1346, allocations: 0 / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1346, allocations: 12 kB / 364.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1346, allocations: 3.938 kB / 364.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1347, allocations: 0 / 364.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.135, allocations: 249 kB / 364.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.1351, allocations: 108.8 kB / 364.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1351, allocations: 11.95 kB / 364.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.1352, allocations: 7.984 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1352, allocations: 0 / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1352, allocations: 8 kB / 365 MB, free: 6.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1353, allocations: 112.1 kB / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1353, allocations: 0 / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1356, allocations: 20 kB / 365.1 MB, free: 6.746 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 (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.0001279/0.1358, allocations: 107.3 kB / 365.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.136, allocations: 122.7 kB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.136, allocations: 1.062 kB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.1361, allocations: 15.98 kB / 365.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.1366, allocations: 82.45 kB / 365.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.1371, allocations: 304.4 kB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1376, allocations: 0.7204 MB / 366.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.1376, allocations: 17.42 kB / 366.4 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.1377, allocations: 11.44 kB / 366.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1377, allocations: 0 / 366.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of Templates: time 0.003658/0.1413, allocations: 1.056 MB / 367.5 MB, free: 4.262 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches