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.001016/0.001016, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001217/0.001217, allocations: 177 kB / 17.56 MB, free: 6.18 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.558/1.558, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 11.94 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 50.41 MB / 351.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002812/0.1389, allocations: 1.445 MB / 353.3 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1402, allocations: 0.5298 MB / 353.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1403, allocations: 0 / 353.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.1404, allocations: 3.938 kB / 353.8 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1406, allocations: 23.84 kB / 353.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.141, allocations: 83.55 kB / 353.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1412, allocations: 87.7 kB / 354 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1414, allocations: 25.11 kB / 354 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1415, allocations: 31.84 kB / 354.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1416, allocations: 39.78 kB / 354.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1417, allocations: 8 kB / 354.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.1417, allocations: 4 kB / 354.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1418, allocations: 23.91 kB / 354.1 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1419, allocations: 73.31 kB / 354.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1421, allocations: 91.66 kB / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1421, allocations: 0 / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1421, allocations: 0 / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1422, allocations: 0 / 354.3 MB, free: 1.215 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.0006898/0.1428, allocations: 415.3 kB / 354.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.1429, allocations: 8.031 kB / 354.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.143, allocations: 16.75 kB / 354.7 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1433, allocations: 211.3 kB / 354.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1433, allocations: 8.375 kB / 354.9 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1433, allocations: 12.38 kB / 354.9 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.1439, allocations: 273.7 kB / 355.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1439, allocations: 0 / 355.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.144, allocations: 12 kB / 355.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.144, allocations: 0 / 355.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1441, allocations: 55.91 kB / 355.3 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.1446, allocations: 302.4 kB / 355.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.145, allocations: 147.8 kB / 355.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1451, allocations: 70.62 kB / 355.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.1452, allocations: 11.98 kB / 355.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1452, allocations: 30.56 kB / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1452, allocations: 0 / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005094/0.1457, allocations: 189.4 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1459, allocations: 118.9 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.146, allocations: 152.5 kB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1461, allocations: 29.7 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.1462, allocations: 92.12 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1462, allocations: 15.81 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1462, allocations: 25.7 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1464, allocations: 322.8 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.1465, allocations: 35.92 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1467, allocations: 129.8 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.147, allocations: 182.3 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.147, allocations: 4 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003278/0.1474, allocations: 185.1 kB / 357.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1474, allocations: 4 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1474, allocations: 7.984 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.1474, allocations: 4 kB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1476, allocations: 36.45 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1476, allocations: 8 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.1477, allocations: 11.94 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1478, allocations: 16 kB / 357.4 MB, free: 13.76 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.0001398/0.1479, allocations: 134 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.1481, allocations: 125.4 kB / 357.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.1482, allocations: 16.72 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1482, allocations: 0 / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.1482, allocations: 4 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1482, allocations: 3.938 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1485, allocations: 197.6 kB / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1485, allocations: 480 / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1486, allocations: 27.92 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1486, allocations: 4 kB / 357.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1487, allocations: 7.984 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1487, allocations: 7.938 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1487, allocations: 3.938 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.149, allocations: 259.6 kB / 358.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1492, allocations: 108.9 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1492, allocations: 0 / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.1493, allocations: 8 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.1494, allocations: 4 kB / 358.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1494, allocations: 7.938 kB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1495, allocations: 122.9 kB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1495, allocations: 0 / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1498, allocations: 20 kB / 358.4 MB, free: 12.62 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.000199/0.15, allocations: 111.1 kB / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1504, allocations: 120.5 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1504, allocations: 0 / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.1504, allocations: 12 kB / 358.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.151, allocations: 74.69 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.1517, allocations: 312 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.1521, allocations: 0.7205 MB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.1522, allocations: 21.36 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.1522, allocations: 15.44 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1522, allocations: 0 / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Templates: time 0.004305/0.1565, allocations: 1.09 MB / 360.9 MB, free: 10.09 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 -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches