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.001045/0.001045, allocations: 99.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002778, allocations: 8 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002339/0.1447, allocations: 1.435 MB / 359.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1458, allocations: 0.5536 MB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.146, allocations: 3.938 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.1461, allocations: 3.938 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1463, allocations: 15.97 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1468, allocations: 83.78 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1469, allocations: 55.88 kB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1471, allocations: 24.86 kB / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1472, allocations: 35.78 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.1473, allocations: 47.77 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1474, allocations: 4 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.1474, allocations: 4 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.1475, allocations: 19.92 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.1475, allocations: 45.64 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1477, allocations: 71.84 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1477, allocations: 0 / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1477, allocations: 3.938 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1477, allocations: 0 / 360.5 MB, free: 11.72 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.0005658/0.1483, allocations: 407.2 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1483, allocations: 8.031 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1485, allocations: 27.8 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1488, allocations: 210.2 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1488, allocations: 8 kB / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1488, allocations: 19.94 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.1494, allocations: 270.5 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1494, allocations: 0 / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1494, allocations: 8 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1494, allocations: 0 / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1496, allocations: 55.91 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.15, allocations: 306.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1503, allocations: 139.9 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1503, allocations: 4.062 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1503, allocations: 34.56 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.1503, allocations: 0 / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004465/0.1508, allocations: 181.5 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1509, allocations: 122.9 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1511, allocations: 153.5 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1511, allocations: 29.7 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1512, allocations: 96.03 kB / 362.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1512, allocations: 15.8 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.1512, allocations: 8 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1513, allocations: 318.8 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.1514, allocations: 32.36 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1516, allocations: 133.4 kB / 363 MB, free: 8.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1517, allocations: 56.25 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.1517, allocations: 4 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002811/0.152, allocations: 185.1 kB / 363.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.152, allocations: 8 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.152, allocations: 7.938 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1521, allocations: 4 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1522, allocations: 31.92 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1522, allocations: 4.5 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.1523, allocations: 19.91 kB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1523, allocations: 8 kB / 363.3 MB, free: 8.555 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.0001278/0.1525, allocations: 145.7 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1526, allocations: 113.7 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.1527, allocations: 20.72 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1527, allocations: 4 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1527, allocations: 0 / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1527, allocations: 3.984 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.153, allocations: 185.6 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.153, allocations: 11.95 kB / 363.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.1531, allocations: 27.92 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1531, allocations: 0 / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1531, allocations: 11.98 kB / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1531, allocations: 80 / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1531, allocations: 3.984 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1535, allocations: 280.3 kB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.1536, allocations: 104.9 kB / 364.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1536, allocations: 11.98 kB / 364.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.1537, allocations: 4 kB / 364.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1538, allocations: 4 kB / 364.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1538, allocations: 11.98 kB / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.1539, allocations: 115.2 kB / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1542, allocations: 20 kB / 364.4 MB, free: 7.379 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.0001386/0.1543, allocations: 95.25 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1546, allocations: 112.1 kB / 364.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1546, allocations: 0 / 364.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.1546, allocations: 11.94 kB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.1551, allocations: 94.44 kB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1556, allocations: 303 kB / 365 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1559, allocations: 0.7283 MB / 365.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.156, allocations: 13.42 kB / 365.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.156, allocations: 15.44 kB / 365.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.156, allocations: 0 / 365.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of Templates: time 0.003748/0.1598, allocations: 1.051 MB / 366.8 MB, free: 4.914 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches