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.001952/0.001952, allocations: 109.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003122/0.003122, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 64.19 kB / 306.4 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 50.53 MB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00406/0.1314, allocations: 1.813 MB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1328, allocations: 0.5883 MB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.133, allocations: 7.938 kB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.004e-05/0.1331, allocations: 3.938 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1333, allocations: 11.92 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1339, allocations: 99.77 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1341, allocations: 91.77 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1343, allocations: 29.42 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1345, allocations: 51.78 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.1346, allocations: 43.72 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1346, allocations: 8 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.1347, allocations: 12 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.1348, allocations: 31.89 kB / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1349, allocations: 47.67 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1352, allocations: 111.6 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1352, allocations: 0 / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1352, allocations: 0 / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1352, allocations: 0 / 359.9 MB, free: 11.36 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.0008333/0.1361, allocations: 431.2 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1361, allocations: 8.031 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.1364, allocations: 28.73 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1367, allocations: 221 kB / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1367, allocations: 12.36 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.1368, allocations: 12.38 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.1373, allocations: 265.8 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1374, allocations: 8 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1374, allocations: 0 / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1374, allocations: 3.938 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1376, allocations: 51.91 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.138, allocations: 310.3 kB / 361.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1383, allocations: 139.9 kB / 361.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1385, allocations: 78.61 kB / 361.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.1385, allocations: 0 / 361.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1386, allocations: 42.66 kB / 361.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.1386, allocations: 0 / 361.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004679/0.139, allocations: 173.6 kB / 361.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1392, allocations: 122.7 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1393, allocations: 154.2 kB / 361.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.1394, allocations: 29.7 kB / 362 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1395, allocations: 100.2 kB / 362.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1395, allocations: 15.89 kB / 362.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.1396, allocations: 37.62 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1397, allocations: 330.8 kB / 362.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1398, allocations: 23.98 kB / 362.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.14, allocations: 131.3 kB / 362.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1402, allocations: 174.3 kB / 362.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1402, allocations: 0 / 362.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002887/0.1405, allocations: 181.2 kB / 362.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1405, allocations: 8 kB / 362.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1406, allocations: 8.516 kB / 362.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1406, allocations: 8 kB / 363 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1407, allocations: 31.92 kB / 363 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1408, allocations: 7.984 kB / 363 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.1408, allocations: 15.84 kB / 363 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1409, allocations: 12.38 kB / 363 MB, free: 7.867 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.0001649/0.141, allocations: 141.7 kB / 363.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.1413, allocations: 129.3 kB / 363.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.1413, allocations: 20.7 kB / 363.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1414, allocations: 8 kB / 363.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1414, allocations: 0 / 363.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1414, allocations: 3.938 kB / 363.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1417, allocations: 197.5 kB / 363.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1417, allocations: 0 / 363.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1418, allocations: 31.91 kB / 363.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1418, allocations: 4 kB / 363.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1418, allocations: 4 kB / 363.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1418, allocations: 0 / 363.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1419, allocations: 4 kB / 363.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.1422, allocations: 255.9 kB / 363.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1424, allocations: 108.8 kB / 363.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1424, allocations: 0 / 363.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.1425, allocations: 11.98 kB / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1425, allocations: 3.938 kB / 363.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1426, allocations: 4 kB / 363.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.1427, allocations: 124.1 kB / 364.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 364.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000287/0.143, allocations: 20 kB / 364.1 MB, free: 6.711 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.0001931/0.1432, allocations: 102.8 kB / 364.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1435, allocations: 124.6 kB / 364.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1435, allocations: 0 / 364.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1436, allocations: 8 kB / 364.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1441, allocations: 78.72 kB / 364.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.1447, allocations: 317.8 kB / 364.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.145, allocations: 0.7201 MB / 365.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.145, allocations: 17.36 kB / 365.4 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1451, allocations: 19.44 kB / 365.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1451, allocations: 0 / 365.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of Templates: time 0.004166/0.1493, allocations: 1.18 MB / 366.6 MB, free: 4.098 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