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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 55.91 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00386/0.3139, allocations: 1.776 MB / 433.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3152, allocations: 0.6154 MB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3153, allocations: 7.938 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.3154, allocations: 7.875 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.3155, allocations: 27.78 kB / 434.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.3161, allocations: 99.7 kB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3163, allocations: 87.77 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3164, allocations: 21.62 kB / 434.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3166, allocations: 63.77 kB / 434.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3167, allocations: 47.72 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3167, allocations: 4 kB / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.3168, allocations: 12 kB / 434.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.3169, allocations: 23.91 kB / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.3169, allocations: 51.67 kB / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3173, allocations: 119.8 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3173, allocations: 0 / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3173, allocations: 0 / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3173, allocations: 0 / 434.9 MB, free: 3.711 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.0006824/0.318, allocations: 353.8 kB / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.318, allocations: 12.03 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.036e-05/0.318, allocations: 4.125 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3181, allocations: 42.75 kB / 435.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3182, allocations: 24.83 kB / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3185, allocations: 166.9 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3186, allocations: 8.375 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3186, allocations: 12.31 kB / 435.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.3191, allocations: 268.6 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3191, allocations: 3.938 kB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3191, allocations: 7.984 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3192, allocations: 4 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3193, allocations: 47.97 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3197, allocations: 281.5 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3199, allocations: 127.9 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3201, allocations: 78.69 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3201, allocations: 4 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3201, allocations: 38.5 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.3201, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004349/0.3206, allocations: 165.5 kB / 436.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3207, allocations: 122.9 kB / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3208, allocations: 158.2 kB / 436.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3209, allocations: 29.7 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.3209, allocations: 96.09 kB / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.3209, allocations: 23.88 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.321, allocations: 37.7 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3212, allocations: 326.8 kB / 437.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.3213, allocations: 27.98 kB / 437.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3214, allocations: 141.9 kB / 437.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3216, allocations: 166.4 kB / 437.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3216, allocations: 0 / 437.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002911/0.3219, allocations: 185.4 kB / 437.8 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3219, allocations: 8 kB / 437.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.322, allocations: 4 kB / 437.8 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.322, allocations: 4 kB / 437.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3221, allocations: 31.92 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3221, allocations: 11.92 kB / 437.9 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.3222, allocations: 12 kB / 437.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3222, allocations: 8 kB / 437.9 MB, free: 392 kB / 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.0001144/0.3223, allocations: 141.9 kB / 438.1 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.3225, allocations: 122.2 kB / 438.2 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3226, allocations: 24.64 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3226, allocations: 4 kB / 438.2 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3226, allocations: 8.031 kB / 438.2 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3226, allocations: 3.938 kB / 438.2 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.3228, allocations: 176.6 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3228, allocations: 0 / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3229, allocations: 23.98 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3229, allocations: 4 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3229, allocations: 8 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3229, allocations: 0 / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3229, allocations: 3.938 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3232, allocations: 259.6 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3233, allocations: 27.89 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3233, allocations: 8 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.3234, allocations: 4 kB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3234, allocations: 7.922 kB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3235, allocations: 8 kB / 438.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.3235, allocations: 116.1 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 4 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3238, allocations: 20 kB / 438.9 MB, free: 15.35 MB / 350.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.0007295/0.3245, allocations: 0.8389 MB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3248, allocations: 108.2 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3248, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.3248, allocations: 15.92 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3253, allocations: 86.59 kB / 439.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3272, allocations: 1.865 MB / 441.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3276, allocations: 0.7317 MB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.3276, allocations: 5.438 kB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.3277, allocations: 39.42 kB / 442.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3277, allocations: 0 / 442.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3507, allocations: 3.02 MB / 445.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.21, allocations: 12.05 kB / 445.6 MB, free: 8.508 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=1.78998e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,upSample1.y,upSample2.y,add.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(upSample1.b),previous(upSample1.b_super),previous(upSample2.b),previous(upSample2.b_super),sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,upSample1.b,upSample1.b_super,upSample1.factor,upSample1.inferFactor,upSample1.u,upSample1.y,upSample2.b,upSample2.b_super,upSample2.factor,upSample2.inferFactor,upSample2.u,upSample2.y [Calling sys.exit(0), Time elapsed: 14.026395950000733]