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.001147/0.001147, allocations: 113 kB / 17.68 MB, free: 5.355 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.001321/0.001321, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.503/1.503, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009943/0.0009944, allocations: 54.92 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1251, 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.004707/0.1299, allocations: 1.724 MB / 353.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1314, allocations: 0.5414 MB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1316, allocations: 7.938 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.497e-05/0.1317, allocations: 15.86 kB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1319, allocations: 19.81 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.1325, allocations: 87.77 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1327, allocations: 87.75 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1329, allocations: 29.11 kB / 354 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.133, allocations: 47.78 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.1331, allocations: 43.77 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1331, allocations: 4 kB / 354.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.1332, allocations: 8 kB / 354.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.1333, allocations: 27.86 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.1334, allocations: 47.67 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1336, allocations: 115.6 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1336, allocations: 0 / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1336, allocations: 0 / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1336, allocations: 3.938 kB / 354.3 MB, free: 0.8594 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.0007271/0.1344, allocations: 422.9 kB / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1344, allocations: 11.89 kB / 354.7 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.1345, allocations: 16.75 kB / 354.7 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.1349, allocations: 227.9 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.135, allocations: 8.375 kB / 355 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.135, allocations: 12.38 kB / 355 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.1358, allocations: 269.5 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1358, allocations: 0 / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1359, allocations: 8 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1359, allocations: 0 / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1361, allocations: 55.91 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.1367, allocations: 306.4 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.1371, allocations: 139.9 kB / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1373, allocations: 70.69 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.1373, allocations: 7.984 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1374, allocations: 34.56 kB / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.757e-06/0.1374, allocations: 4 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006113/0.138, allocations: 173.3 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.1382, allocations: 114.8 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1384, allocations: 150.2 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1384, allocations: 29.7 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.1385, allocations: 96.12 kB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1385, allocations: 19.8 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.1386, allocations: 37.7 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1388, allocations: 330.9 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1389, allocations: 19.98 kB / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1391, allocations: 134 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.1395, allocations: 178.3 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1395, allocations: 0 / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004433/0.14, allocations: 185.1 kB / 357.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.14, allocations: 11.94 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1401, allocations: 4 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.453e-05/0.1401, allocations: 11.92 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1403, allocations: 35.92 kB / 357.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.1403, allocations: 4 kB / 357.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1405, allocations: 16.44 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1405, allocations: 15.98 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.0001937/0.1407, allocations: 142 kB / 357.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.141, allocations: 121.4 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.1411, allocations: 16.72 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.1411, allocations: 4 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.1412, allocations: 0 / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.1412, allocations: 7.922 kB / 357.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1415, allocations: 193.5 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.1415, allocations: 8 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1417, allocations: 23.92 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1417, allocations: 4 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1417, allocations: 3.984 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1417, allocations: 4 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1417, allocations: 0 / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.1423, allocations: 255.6 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1425, allocations: 112.8 kB / 358.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1426, allocations: 0 / 358.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1427, allocations: 8 kB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.1428, allocations: 3.938 kB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1428, allocations: 7.984 kB / 358.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1429, allocations: 120.9 kB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1429, allocations: 0 / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.1434, allocations: 20 kB / 358.4 MB, free: 12.25 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.0001995/0.1436, allocations: 107.2 kB / 358.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.144, allocations: 103.8 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1441, allocations: 1.062 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.1441, allocations: 8 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.0006882/0.1448, allocations: 84.03 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.0007962/0.1456, allocations: 269.6 kB / 359 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.1462, allocations: 0.7202 MB / 359.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.583e-05/0.1463, allocations: 13.42 kB / 359.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.1464, allocations: 15.44 kB / 359.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1464, allocations: 3.938 kB / 359.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Templates: time 0.006253/0.1527, allocations: 1.201 MB / 360.9 MB, free: 9.68 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 cvode -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