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.0013/0.0013, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001416/0.001416, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.00211/0.00211, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003226/0.2979, allocations: 1.746 MB / 433.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2991, allocations: 0.5688 MB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2992, allocations: 11.88 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.2992, allocations: 11.86 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2994, allocations: 11.88 kB / 434.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.2999, allocations: 103.7 kB / 434.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3, allocations: 91.7 kB / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3001, allocations: 27.72 kB / 434.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3003, allocations: 51.8 kB / 434.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.3004, allocations: 51.75 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3004, allocations: 4 kB / 434.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.3005, allocations: 12 kB / 434.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.3005, allocations: 19.92 kB / 434.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.3006, allocations: 43.73 kB / 434.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.3008, allocations: 115.4 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3008, allocations: 3.938 kB / 434.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3008, allocations: 4 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3008, allocations: 4 kB / 434.8 MB, free: 3.582 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.0005545/0.3014, allocations: 349.7 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3014, allocations: 8.031 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.342e-05/0.3014, allocations: 12.19 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.3015, allocations: 42.73 kB / 435.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3016, allocations: 24.83 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3019, allocations: 174.8 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.302, allocations: 8.375 kB / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.302, allocations: 8.375 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.3025, allocations: 276.6 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3025, allocations: 0 / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3025, allocations: 0 / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3025, allocations: 4 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3027, allocations: 51.91 kB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.303, allocations: 269.5 kB / 436 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.3033, allocations: 123.9 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3034, allocations: 70.66 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3034, allocations: 7.938 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3034, allocations: 38.56 kB / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3034, allocations: 0 / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004188/0.3039, allocations: 169.4 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.304, allocations: 122.9 kB / 436.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3041, allocations: 154.2 kB / 436.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3041, allocations: 29.7 kB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.3042, allocations: 96.22 kB / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3042, allocations: 27.89 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3043, allocations: 37.7 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3044, allocations: 326.8 kB / 437.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.3045, allocations: 23.98 kB / 437.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3047, allocations: 142.1 kB / 437.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3049, allocations: 174.3 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3049, allocations: 0 / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003026/0.3052, allocations: 173.7 kB / 437.7 MB, free: 360 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3052, allocations: 12.06 kB / 437.7 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3052, allocations: 11.92 kB / 437.7 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3052, allocations: 4 kB / 437.7 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3054, allocations: 31.92 kB / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3054, allocations: 15.88 kB / 437.7 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.3054, allocations: 7.953 kB / 437.7 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3055, allocations: 16 kB / 437.8 MB, free: 260 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.0001264/0.3056, allocations: 140.8 kB / 437.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.3058, allocations: 121.9 kB / 438 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.3059, allocations: 16.72 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3059, allocations: 8 kB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3059, allocations: 3.938 kB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3059, allocations: 0 / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3061, allocations: 160.6 kB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.3061, allocations: 11.98 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3062, allocations: 23.98 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.3062, allocations: 4 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3062, allocations: 0 / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3062, allocations: 7.938 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3062, allocations: 3.938 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3065, allocations: 253 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.3066, allocations: 27.89 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3066, allocations: 4 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.3067, allocations: 4 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.3067, allocations: 11.92 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.3067, allocations: 4 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.3068, allocations: 124.1 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3068, allocations: 0 / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3071, allocations: 20 kB / 438.7 MB, free: 15.25 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.0007361/0.3078, allocations: 0.8414 MB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3081, allocations: 103.8 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3081, allocations: 1.062 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.3082, allocations: 11.98 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3086, allocations: 92.2 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3106, allocations: 1.868 MB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3107, allocations: 110.2 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.3108, allocations: 5.438 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.3108, allocations: 39.42 kB / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3108, allocations: 0 / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3344, allocations: 3.058 MB / 444.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 12.03 kB / 444.8 MB, free: 9.004 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: 13.780318902921863]