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.001734/0.001734, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4538, allocations: 50.55 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003674/0.4575, allocations: 1.747 MB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.4589, allocations: 0.6038 MB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.4591, allocations: 3.938 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.179e-05/0.4592, allocations: 7.875 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.4594, allocations: 15.86 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.4599, allocations: 111.6 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.4601, allocations: 87.77 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4603, allocations: 29.44 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.4605, allocations: 47.77 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.4606, allocations: 47.72 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.4606, allocations: 8 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.4607, allocations: 8 kB / 411.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.4607, allocations: 31.91 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.4608, allocations: 47.67 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.4611, allocations: 119.5 kB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4611, allocations: 7.938 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4611, allocations: 0 / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4611, allocations: 3.938 kB / 411.7 MB, free: 14.62 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.0006842/0.4618, allocations: 424.6 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4618, allocations: 8.031 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.4619, allocations: 42.75 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4621, allocations: 28.73 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.4625, allocations: 235.9 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4625, allocations: 4.375 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.4626, allocations: 12.38 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.4631, allocations: 268.7 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4631, allocations: 0 / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4631, allocations: 8 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4632, allocations: 4 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.4633, allocations: 51.91 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.4637, allocations: 302.5 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.464, allocations: 139.9 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.4642, allocations: 70.61 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.4642, allocations: 8.141 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.4643, allocations: 38.5 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.4643, allocations: 8 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004455/0.4647, allocations: 173.3 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.4648, allocations: 114.8 kB / 413.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.465, allocations: 154.8 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.465, allocations: 29.69 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.4651, allocations: 96.09 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4651, allocations: 19.92 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.4652, allocations: 37.72 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4653, allocations: 330.8 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.4654, allocations: 28.36 kB / 414.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.4656, allocations: 137.5 kB / 414.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.4658, allocations: 162.4 kB / 414.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.4658, allocations: 4 kB / 414.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003073/0.4661, allocations: 189 kB / 414.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4662, allocations: 4 kB / 414.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4662, allocations: 4 kB / 414.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4662, allocations: 8 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4663, allocations: 28.45 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4664, allocations: 19.86 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.4664, allocations: 12 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.4665, allocations: 8 kB / 414.8 MB, free: 11.09 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.0001516/0.4666, allocations: 141.7 kB / 415 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.4668, allocations: 121.4 kB / 415.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.4669, allocations: 24.7 kB / 415.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4669, allocations: 0 / 415.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4669, allocations: 3.938 kB / 415.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4669, allocations: 11.94 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.4672, allocations: 193.5 kB / 415.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4672, allocations: 0 / 415.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4673, allocations: 27.98 kB / 415.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4673, allocations: 0 / 415.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4673, allocations: 8 kB / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4673, allocations: 0 / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4673, allocations: 7.875 kB / 415.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4677, allocations: 253 kB / 415.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.4678, allocations: 104.8 kB / 415.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.4678, allocations: 8 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.4679, allocations: 7.984 kB / 415.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4679, allocations: 3.938 kB / 415.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4679, allocations: 8 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.468, allocations: 115.4 kB / 415.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.468, allocations: 4 kB / 415.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.4684, allocations: 24 kB / 415.9 MB, free: 9.93 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.0007662/0.4691, allocations: 0.8466 MB / 416.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.4694, allocations: 111 kB / 416.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4694, allocations: 4 kB / 416.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.4695, allocations: 9.047 kB / 416.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.47, allocations: 86.28 kB / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.4723, allocations: 1.853 MB / 418.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4727, allocations: 0.728 MB / 419.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.4728, allocations: 13.41 kB / 419.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.4728, allocations: 39.36 kB / 419.6 MB, free: 6 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4728, allocations: 0 / 419.6 MB, free: 6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.4984, allocations: 2.795 MB / 422.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.875, allocations: 320 / 422.4 MB, free: 3.32 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