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.001483/0.001483, allocations: 100.3 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001586, allocations: 209.7 kB / 18.14 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 56.12 kB / 306.3 MB, free: 1.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1223, allocations: 50.54 MB / 356.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003104/0.1254, allocations: 1.823 MB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1265, allocations: 0.596 MB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.1266, allocations: 4 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.1266, allocations: 11.86 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1268, allocations: 11.92 kB / 359.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1271, allocations: 83.84 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1272, allocations: 95.7 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1273, allocations: 25.42 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1275, allocations: 47.78 kB / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.1276, allocations: 43.72 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1276, allocations: 4 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.1276, allocations: 16 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1277, allocations: 23.89 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1277, allocations: 47.67 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1279, allocations: 107.6 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1279, allocations: 4 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1279, allocations: 0 / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1279, allocations: 0 / 359.7 MB, free: 11.61 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.0005385/0.1285, allocations: 427.2 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1285, allocations: 8.031 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1287, allocations: 28.73 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1289, allocations: 221 kB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.129, allocations: 8.375 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.129, allocations: 8.375 kB / 360.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1295, allocations: 266.6 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1295, allocations: 0 / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1295, allocations: 4 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1295, allocations: 4 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1297, allocations: 59.91 kB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1301, allocations: 310.3 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.1303, allocations: 135.7 kB / 361.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1305, allocations: 70.61 kB / 361.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1305, allocations: 8.281 kB / 361.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1305, allocations: 38.55 kB / 361.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1305, allocations: 0 / 361.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004139/0.131, allocations: 177.4 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.1311, allocations: 118.7 kB / 361.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1312, allocations: 158.2 kB / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1312, allocations: 25.7 kB / 361.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1313, allocations: 96.09 kB / 361.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1313, allocations: 15.89 kB / 361.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.1314, allocations: 45.73 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1315, allocations: 326.8 kB / 362.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.1316, allocations: 27.98 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1317, allocations: 134.5 kB / 362.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.132, allocations: 170.3 kB / 362.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.132, allocations: 4 kB / 362.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002881/0.1323, allocations: 177.2 kB / 362.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1323, allocations: 4 kB / 362.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1323, allocations: 4 kB / 362.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1323, allocations: 11.98 kB / 362.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1325, allocations: 27.92 kB / 362.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1325, allocations: 12.45 kB / 362.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.1326, allocations: 23.84 kB / 362.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1326, allocations: 8 kB / 362.8 MB, free: 8.129 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.0001407/0.1327, allocations: 141.6 kB / 363 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.1329, allocations: 117.7 kB / 363.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.133, allocations: 20.7 kB / 363.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.133, allocations: 4 kB / 363.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.133, allocations: 0 / 363.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.133, allocations: 8.406 kB / 363.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1333, allocations: 201.5 kB / 363.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1333, allocations: 0 / 363.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.1334, allocations: 23.98 kB / 363.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1334, allocations: 0 / 363.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1334, allocations: 15.88 kB / 363.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1335, allocations: 4.016 kB / 363.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1335, allocations: 3.984 kB / 363.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1338, allocations: 253 kB / 363.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.1339, allocations: 100.9 kB / 363.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1339, allocations: 15.98 kB / 363.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.134, allocations: 4 kB / 363.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1341, allocations: 3.938 kB / 363.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1341, allocations: 8 kB / 363.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.1342, allocations: 112.1 kB / 363.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.1342, allocations: 0 / 363.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1344, allocations: 27.94 kB / 363.9 MB, free: 6.977 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.0001287/0.1346, allocations: 107.2 kB / 364 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1348, allocations: 103.4 kB / 364.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1348, allocations: 0 / 364.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.1349, allocations: 16.05 kB / 364.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.1354, allocations: 75.94 kB / 364.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1359, allocations: 315.4 kB / 364.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1363, allocations: 0.7204 MB / 365.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.1363, allocations: 13.42 kB / 365.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.1364, allocations: 19.44 kB / 365.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1364, allocations: 3.938 kB / 365.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of Templates: time 0.0036/0.14, allocations: 1.114 MB / 366.3 MB, free: 4.434 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