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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003315/0.297, allocations: 1.769 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.2984, allocations: 0.5999 MB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2985, allocations: 7.938 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.2986, allocations: 7.875 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.2988, allocations: 19.78 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.2993, allocations: 99.75 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2995, allocations: 87.7 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2997, allocations: 29.44 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.2999, allocations: 55.78 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.3, allocations: 47.72 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.3, allocations: 4 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.3001, allocations: 19.97 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.3002, allocations: 23.92 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.3003, allocations: 51.67 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3005, allocations: 114.4 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3005, allocations: 0 / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3005, allocations: 0 / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3005, allocations: 0 / 411.8 MB, free: 14.5 MB / 334.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.0006778/0.3012, allocations: 426.9 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3013, allocations: 12.03 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.3013, allocations: 38.73 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3015, allocations: 32.83 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3019, allocations: 232 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.3019, allocations: 8.375 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3019, allocations: 12.38 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.3025, allocations: 268.8 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3025, allocations: 3.984 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3026, allocations: 8 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3026, allocations: 0 / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3027, allocations: 55.84 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.3032, allocations: 306.4 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.3035, allocations: 135.9 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3037, allocations: 74.66 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3037, allocations: 4.141 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.3038, allocations: 42.55 kB / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.3038, allocations: 0 / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000487/0.3043, allocations: 173.4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.3044, allocations: 118.8 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3046, allocations: 154.8 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3046, allocations: 29.7 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3047, allocations: 92.22 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3047, allocations: 23.89 kB / 414 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.3048, allocations: 37.7 kB / 414 MB, free: 11.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.305, allocations: 326.8 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.3051, allocations: 23.98 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3052, allocations: 133.8 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.3055, allocations: 178.3 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3055, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003234/0.3058, allocations: 181.2 kB / 414.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3059, allocations: 8 kB / 414.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3059, allocations: 4 kB / 414.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3059, allocations: 4.531 kB / 414.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.306, allocations: 39.92 kB / 414.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.3061, allocations: 11.94 kB / 414.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.3061, allocations: 7.953 kB / 414.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3062, allocations: 16 kB / 414.9 MB, free: 10.96 MB / 334.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.0001411/0.3063, allocations: 140.8 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3065, allocations: 121.5 kB / 415.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.3066, allocations: 16.72 kB / 415.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3066, allocations: 4 kB / 415.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3066, allocations: 11.88 kB / 415.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3066, allocations: 3.984 kB / 415.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3069, allocations: 193.6 kB / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3069, allocations: 0 / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.307, allocations: 27.92 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.307, allocations: 4 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3071, allocations: 7.984 kB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3071, allocations: 0 / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3071, allocations: 7.938 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3074, allocations: 253 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3075, allocations: 112.9 kB / 415.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3076, allocations: 0 / 415.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.3077, allocations: 8 kB / 415.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3077, allocations: 7.922 kB / 415.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3077, allocations: 7.984 kB / 415.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.3078, allocations: 127.4 kB / 415.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 415.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.3081, allocations: 20 kB / 416 MB, free: 9.797 MB / 334.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.000861/0.309, allocations: 0.8432 MB / 416.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3093, allocations: 114.1 kB / 416.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3093, allocations: 0 / 416.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.3093, allocations: 5.062 kB / 416.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.3098, allocations: 88.28 kB / 417 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.312, allocations: 1.871 MB / 418.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3125, allocations: 0.7163 MB / 419.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.3125, allocations: 13.36 kB / 419.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.3126, allocations: 39.42 kB / 419.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3126, allocations: 4 kB / 419.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3375, allocations: 2.738 MB / 422.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.703/9.041, allocations: 3.25 kB / 422.4 MB, free: 3.234 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/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