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.001565/0.001565, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001853, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3529, allocations: 50.54 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003738/0.3567, allocations: 1.763 MB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3582, allocations: 0.6739 MB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3584, allocations: 7.938 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3586, allocations: 19.8 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.3589, allocations: 43.7 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.3594, allocations: 135.3 kB / 411.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3597, allocations: 159.5 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3598, allocations: 33.55 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.36, allocations: 75.75 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3603, allocations: 103.6 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.3603, allocations: 16 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.3604, allocations: 20 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.3605, allocations: 59.81 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.3607, allocations: 95.41 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.361, allocations: 218.1 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.361, allocations: 0 / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.361, allocations: 3.938 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.361, allocations: 0 / 412.2 MB, free: 14.06 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001023/0.3621, allocations: 0.514 MB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.3621, allocations: 11.97 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.983e-05/0.3622, allocations: 54.73 kB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.3624, allocations: 36.73 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3629, allocations: 267.8 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.3629, allocations: 16.38 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.363, allocations: 16.38 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3643, allocations: 0.6263 MB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3643, allocations: 0 / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3644, allocations: 4 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.3644, allocations: 23.97 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.3649, allocations: 187.8 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.3655, allocations: 374.3 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.366, allocations: 239.7 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.3663, allocations: 162.5 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.3664, allocations: 8 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3665, allocations: 34.56 kB / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.492e-06/0.3665, allocations: 4 kB / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009678/0.3674, allocations: 421.8 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.3676, allocations: 138.9 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3678, allocations: 170.4 kB / 415.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3678, allocations: 29.7 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.3679, allocations: 105.1 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.368, allocations: 55.8 kB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3681, allocations: 74.06 kB / 415.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3683, allocations: 338.8 kB / 416.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3685, allocations: 76.81 kB / 416.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3688, allocations: 326.7 kB / 416.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.3694, allocations: 409 kB / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3694, allocations: 0 / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006472/0.3701, allocations: 405.5 kB / 417.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3701, allocations: 15.12 kB / 417.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3701, allocations: 8.312 kB / 417.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.3702, allocations: 12 kB / 417.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3704, allocations: 87.77 kB / 417.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.3705, allocations: 15.94 kB / 417.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3706, allocations: 35.84 kB / 417.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3707, allocations: 28.33 kB / 417.5 MB, free: 8.285 MB / 334.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.000251/0.3709, allocations: 190.3 kB / 417.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.3715, allocations: 290.4 kB / 418 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.3716, allocations: 34.66 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3716, allocations: 4 kB / 418 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3716, allocations: 7.922 kB / 418 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3716, allocations: 7.938 kB / 418 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.372, allocations: 245.3 kB / 418.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.372, allocations: 4 kB / 418.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.3723, allocations: 67.91 kB / 418.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3723, allocations: 0 / 418.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.3723, allocations: 11.98 kB / 418.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3723, allocations: 4 kB / 418.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3723, allocations: 4 kB / 418.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.373, allocations: 435.8 kB / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3732, allocations: 128.9 kB / 418.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.3733, allocations: 19.98 kB / 418.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3734, allocations: 11.98 kB / 418.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.3735, allocations: 7.922 kB / 418.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3735, allocations: 15.94 kB / 418.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3737, allocations: 132.3 kB / 419.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3737, allocations: 0 / 419.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000412/0.3741, allocations: 52 kB / 419.1 MB, free: 6.547 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: 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.001489/0.3756, allocations: 1.184 MB / 420.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.3762, allocations: 293.4 kB / 420.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3762, allocations: 0 / 420.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.3763, allocations: 8.5 kB / 420.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.3771, allocations: 222 kB / 420.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.3818, allocations: 2.965 MB / 423.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.3826, allocations: 0.7761 MB / 424.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.177e-05/0.3827, allocations: 26.28 kB / 424.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3828, allocations: 71.41 kB / 424.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3829, allocations: 4 kB / 424.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.4158, allocations: 5.056 MB / 429.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.126, allocations: 7.922 kB / 429.7 MB, free: 11.68 MB / 350.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.1.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