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.001498/0.001498, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 61.28 kB / 306.3 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 50.54 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004604/0.1395, allocations: 1.821 MB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1411, allocations: 0.5922 MB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1413, allocations: 3.938 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.481e-05/0.1414, allocations: 7.922 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1415, allocations: 15.92 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.142, allocations: 87.84 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1422, allocations: 87.7 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1424, allocations: 33.42 kB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1426, allocations: 47.72 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.1427, allocations: 47.77 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1427, allocations: 4 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.1428, allocations: 8 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.1428, allocations: 23.91 kB / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1429, allocations: 51.67 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1431, allocations: 103.6 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1432, allocations: 0 / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1432, allocations: 3.938 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1432, allocations: 0 / 359.8 MB, free: 11.5 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.0008429/0.144, allocations: 431.2 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1441, allocations: 8.031 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.1443, allocations: 24.73 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.1447, allocations: 221 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.1447, allocations: 8.375 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1448, allocations: 12.38 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.1454, allocations: 266 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1455, allocations: 4 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1455, allocations: 8 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1455, allocations: 3.938 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1457, allocations: 51.91 kB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.1462, allocations: 310.4 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1465, allocations: 131.7 kB / 361.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1467, allocations: 78.78 kB / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1467, allocations: 160 / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.1468, allocations: 46.55 kB / 361.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.1468, allocations: 0 / 361.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004935/0.1473, allocations: 165.4 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1474, allocations: 122.7 kB / 361.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1476, allocations: 154.2 kB / 361.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1477, allocations: 29.7 kB / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.1478, allocations: 96.22 kB / 361.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1478, allocations: 15.89 kB / 361.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.1479, allocations: 41.61 kB / 362 MB, free: 9.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1481, allocations: 326.8 kB / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.1482, allocations: 27.98 kB / 362.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1483, allocations: 134.5 kB / 362.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1487, allocations: 174.7 kB / 362.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1487, allocations: 0 / 362.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003384/0.149, allocations: 177.2 kB / 362.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.149, allocations: 8 kB / 362.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1491, allocations: 8.469 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1491, allocations: 11.98 kB / 362.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1492, allocations: 27.92 kB / 362.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.1493, allocations: 11.94 kB / 362.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/0.1494, allocations: 15.84 kB / 362.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1494, allocations: 8 kB / 362.9 MB, free: 8.023 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.000155/0.1496, allocations: 148.3 kB / 363 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.1498, allocations: 113.5 kB / 363.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.1498, allocations: 24.7 kB / 363.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1499, allocations: 8 kB / 363.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1499, allocations: 4 kB / 363.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1499, allocations: 3.938 kB / 363.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1501, allocations: 197.5 kB / 363.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1501, allocations: 0 / 363.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1502, allocations: 35.86 kB / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.1503, allocations: 0 / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1503, allocations: 4 kB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1503, allocations: 3.984 kB / 363.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.1503, allocations: 4 kB / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.1506, allocations: 251.6 kB / 363.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1508, allocations: 104.9 kB / 363.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1508, allocations: 4 kB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.1509, allocations: 4 kB / 363.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1509, allocations: 7.875 kB / 363.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1509, allocations: 12 kB / 363.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1511, allocations: 116.1 kB / 363.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1511, allocations: 0 / 363.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.1514, allocations: 24 kB / 363.9 MB, free: 6.871 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.0001547/0.1515, allocations: 99.23 kB / 364 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1519, allocations: 112.5 kB / 364.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1519, allocations: 0 / 364.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.1519, allocations: 4 kB / 364.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1526, allocations: 84.52 kB / 364.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.1533, allocations: 311.7 kB / 364.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.1538, allocations: 0.7204 MB / 365.2 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.1538, allocations: 17.36 kB / 365.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.1539, allocations: 19.44 kB / 365.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1539, allocations: 0 / 365.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of Templates: time 0.004801/0.1587, allocations: 1.12 MB / 366.4 MB, free: 4.332 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.1.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