Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 108.5 kB / 17.21 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.001367/0.001367, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.92 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 50.52 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003369/0.1238, allocations: 1.827 MB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1251, allocations: 0.6778 MB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.1252, allocations: 7.938 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1254, allocations: 7.922 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1256, allocations: 31.84 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.126, allocations: 135.2 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1262, allocations: 143.7 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1263, allocations: 29.53 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1265, allocations: 71.7 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1267, allocations: 107.6 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1268, allocations: 8 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.1269, allocations: 11.98 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.1269, allocations: 63.77 kB / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1271, allocations: 83.45 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1273, allocations: 203.5 kB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1273, allocations: 0 / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1273, allocations: 0 / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1273, allocations: 0 / 360.3 MB, free: 11 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008637/0.1282, allocations: 0.5125 MB / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1283, allocations: 8.031 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.1283, allocations: 58.72 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1285, allocations: 36.55 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1287, allocations: 243.9 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1288, allocations: 16.38 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1288, allocations: 16.38 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1299, allocations: 0.6339 MB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1299, allocations: 0 / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.13, allocations: 11.98 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.13, allocations: 12 kB / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.1304, allocations: 183.8 kB / 362 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1308, allocations: 366.3 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.1313, allocations: 255.6 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1316, allocations: 158.6 kB / 362.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1316, allocations: 8.141 kB / 362.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1317, allocations: 46.5 kB / 362.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.1317, allocations: 0 / 362.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008503/0.1325, allocations: 413.7 kB / 363.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1327, allocations: 134.7 kB / 363.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1328, allocations: 182.6 kB / 363.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1328, allocations: 37.64 kB / 363.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1329, allocations: 97.27 kB / 363.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.133, allocations: 47.53 kB / 363.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1331, allocations: 86.03 kB / 363.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1332, allocations: 334.8 kB / 364.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1333, allocations: 76.83 kB / 364.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1336, allocations: 322.7 kB / 364.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.1341, allocations: 413 kB / 364.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1341, allocations: 0 / 364.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005691/0.1347, allocations: 409.2 kB / 365.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.1347, allocations: 8 kB / 365.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1347, allocations: 11.94 kB / 365.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.1348, allocations: 15.98 kB / 365.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.135, allocations: 75.84 kB / 365.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.135, allocations: 15.94 kB / 365.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1352, allocations: 36.27 kB / 365.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1352, allocations: 28 kB / 365.5 MB, free: 5.242 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001792/0.1354, allocations: 183.4 kB / 365.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.1359, allocations: 294.6 kB / 366 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.136, allocations: 38.64 kB / 366 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.136, allocations: 4 kB / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.136, allocations: 0 / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.136, allocations: 4 kB / 366 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1363, allocations: 249.2 kB / 366.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1363, allocations: 4 kB / 366.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.1366, allocations: 63.91 kB / 366.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1366, allocations: 0 / 366.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.1366, allocations: 15.92 kB / 366.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1366, allocations: 0 / 366.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1366, allocations: 4 kB / 366.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.1372, allocations: 439.8 kB / 366.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1374, allocations: 140.7 kB / 366.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.1374, allocations: 16 kB / 366.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1376, allocations: 11.98 kB / 366.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1376, allocations: 0 / 366.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1377, allocations: 11.98 kB / 366.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1378, allocations: 127.2 kB / 367.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1378, allocations: 4 kB / 367.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.1382, allocations: 48 kB / 367.1 MB, free: 3.516 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001305/0.1395, allocations: 1.194 MB / 368.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.14, allocations: 293.1 kB / 368.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.14, allocations: 0.6875 kB / 368.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1401, allocations: 12 kB / 368.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.1408, allocations: 211.8 kB / 368.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1976/0.3384, allocations: 3.007 MB / 371.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3388, allocations: 0.7865 MB / 372.6 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3389, allocations: 23.17 kB / 372.6 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3391, allocations: 67.36 kB / 372.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3392, allocations: 0 / 372.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3627, allocations: 4.709 MB / 377.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.363, allocations: 218.3 kB / 377.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.291, allocations: 0 / 377.6 MB, free: 17.22 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches