Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.895/0.895, allocations: 173.4 MB / 200.5 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.298e-05, allocations: 13.45 kB / 318.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001996/0.002009, allocations: 1.716 MB / 320.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006774/0.002687, allocations: 0.5141 MB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.002775, allocations: 7.938 kB / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.002821, allocations: 11.81 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.002962, allocations: 27.73 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.00326, allocations: 87.7 kB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.003384, allocations: 95.69 kB / 320.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003497, allocations: 29.22 kB / 320.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.003593, allocations: 55.88 kB / 321 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.003649, allocations: 31.89 kB / 321 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.003674, allocations: 8 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.003687, allocations: 4 kB / 321 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.003744, allocations: 31.84 kB / 321.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.003781, allocations: 27.92 kB / 321.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003913, allocations: 115.6 kB / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003915, allocations: 0 / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003916, allocations: 0 / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.00392, allocations: 0 / 321.2 MB, free: 3.578 MB / 282.7 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.0004111/0.004331, allocations: 349 kB / 321.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004366, allocations: 12.92 kB / 321.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.0044, allocations: 46.73 kB / 321.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.004433, allocations: 12.84 kB / 321.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.004619, allocations: 163.3 kB / 321.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.004641, allocations: 12.38 kB / 321.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.004654, allocations: 8.375 kB / 321.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.005001, allocations: 277.1 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005009, allocations: 192 / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005021, allocations: 12.12 kB / 322.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005025, allocations: 0 / 322.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.00511, allocations: 51.91 kB / 322.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.005372, allocations: 253.7 kB / 322.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.00556, allocations: 128 kB / 322.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.005635, allocations: 74.48 kB / 322.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.005657, allocations: 0 / 322.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.005677, allocations: 42.5 kB / 322.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.005678, allocations: 0 / 322.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002663/0.005944, allocations: 177.5 kB / 322.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.006005, allocations: 122.8 kB / 322.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.006093, allocations: 146.3 kB / 323.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.006105, allocations: 29.7 kB / 323.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.006144, allocations: 100.2 kB / 323.2 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.006158, allocations: 3.953 kB / 323.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.006189, allocations: 33.66 kB / 323.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.006264, allocations: 314.8 kB / 323.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.006294, allocations: 19.98 kB / 323.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.006342, allocations: 52.22 kB / 323.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.006418, allocations: 72.22 kB / 323.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00642, allocations: 0 / 323.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001037/0.006523, allocations: 105.4 kB / 323.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006534, allocations: 4 kB / 323.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006538, allocations: 0 / 323.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.00655, allocations: 7.938 kB / 323.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.006597, allocations: 4 kB / 323.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006603, allocations: 8.156 kB / 323.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.006628, allocations: 3.984 kB / 323.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.006636, allocations: 4 kB / 323.8 MB, free: 0.7109 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 6.946e-05/0.006705, allocations: 122.2 kB / 323.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.006816, allocations: 129.4 kB / 324 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.006847, allocations: 20.77 kB / 324.1 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006849, allocations: 0 / 324.1 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.006854, allocations: 4.656 kB / 324.1 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.00686, allocations: 7.984 kB / 324.1 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.006983, allocations: 160.6 kB / 324.2 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.006985, allocations: 7.938 kB / 324.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.007041, allocations: 27.98 kB / 324.3 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.007045, allocations: 4 kB / 324.3 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.007053, allocations: 3.984 kB / 324.3 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007055, allocations: 3.938 kB / 324.3 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.007057, allocations: 4 kB / 324.3 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.007242, allocations: 252 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.007289, allocations: 27.83 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.007307, allocations: 7.984 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.007351, allocations: 12 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.007376, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.007383, allocations: 4 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.007438, allocations: 117.7 kB / 324.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007438, allocations: 0 / 324.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.007605, allocations: 20 kB / 324.7 MB, free: 15.72 MB / 298.7 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.000457/0.008062, allocations: 0.8349 MB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.008203, allocations: 83.94 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008205, allocations: 0 / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.008223, allocations: 4 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.008546, allocations: 71.92 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.009586, allocations: 1.582 MB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.009654, allocations: 109.8 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.009681, allocations: 5.359 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.009732, allocations: 36.48 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.009732, allocations: 0 / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02477, allocations: 3.363 MB / 330.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.801, allocations: 14.5 kB / 330.8 MB, free: 9.578 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78998e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.496588028036058]