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.001358/0.001358, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.42, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003617/0.4237, allocations: 1.761 MB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.4248, allocations: 0.5999 MB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.425, allocations: 3.938 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.425, allocations: 7.875 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.4252, allocations: 19.8 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.4257, allocations: 99.77 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.4259, allocations: 103.7 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.426, allocations: 25.44 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.4262, allocations: 43.84 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.4262, allocations: 43.72 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4263, allocations: 8 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.4263, allocations: 8 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.4264, allocations: 39.84 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.4265, allocations: 51.66 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.4267, allocations: 115.5 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4267, allocations: 0 / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4267, allocations: 0 / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4267, allocations: 0 / 411.7 MB, free: 14.6 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.0006098/0.4273, allocations: 424.6 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4274, allocations: 8.031 kB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.4274, allocations: 54.67 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.4276, allocations: 24.73 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4279, allocations: 224 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4279, allocations: 4.375 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.428, allocations: 12.38 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.4285, allocations: 280.7 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4285, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4285, allocations: 0 / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4285, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.4287, allocations: 51.91 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.429, allocations: 302.5 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.4293, allocations: 135.8 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4294, allocations: 70.66 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4295, allocations: 8 kB / 413.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4295, allocations: 38.55 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.955e-06/0.4295, allocations: 3.984 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004045/0.4299, allocations: 181.5 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.43, allocations: 110.8 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4301, allocations: 154.8 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4302, allocations: 29.64 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.4302, allocations: 100.2 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.4303, allocations: 19.8 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.4303, allocations: 37.7 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4304, allocations: 330.8 kB / 414.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.4305, allocations: 23.98 kB / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4307, allocations: 138.5 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.4309, allocations: 170.3 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4309, allocations: 4.375 kB / 414.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002754/0.4312, allocations: 185.1 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4312, allocations: 4 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4312, allocations: 4.531 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4312, allocations: 15.94 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4313, allocations: 27.92 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4314, allocations: 8.25 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.4314, allocations: 12 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4315, allocations: 8 kB / 414.8 MB, free: 11.07 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.0001212/0.4316, allocations: 149.6 kB / 415 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4318, allocations: 117.4 kB / 415.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.4318, allocations: 20.72 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4318, allocations: 7.938 kB / 415.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4319, allocations: 3.938 kB / 415.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4319, allocations: 4 kB / 415.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4321, allocations: 193.5 kB / 415.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4321, allocations: 0 / 415.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4322, allocations: 31.92 kB / 415.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4322, allocations: 0 / 415.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4322, allocations: 7.984 kB / 415.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4322, allocations: 0 / 415.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4322, allocations: 3.938 kB / 415.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.4325, allocations: 257 kB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.4326, allocations: 108.8 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4327, allocations: 8 kB / 415.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.4328, allocations: 4 kB / 415.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.4328, allocations: 7.938 kB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4328, allocations: 11.98 kB / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.542e-05/0.4329, allocations: 115.4 kB / 415.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4329, allocations: 0 / 415.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4332, allocations: 24 kB / 415.9 MB, free: 9.902 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.0006942/0.4339, allocations: 0.8427 MB / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4342, allocations: 103.8 kB / 416.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4342, allocations: 1.156 kB / 416.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.4342, allocations: 11.94 kB / 416.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.4347, allocations: 93 kB / 416.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.4366, allocations: 1.856 MB / 418.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4369, allocations: 0.7279 MB / 419.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.437, allocations: 9.422 kB / 419.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.437, allocations: 39.42 kB / 419.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.437, allocations: 0 / 419.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4574, allocations: 2.795 MB / 422.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.71, allocations: 320 / 422.4 MB, free: 3.297 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.0.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