Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 377.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2661, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00323/0.2693, allocations: 1.75 MB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2706, allocations: 0.5726 MB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2707, allocations: 11.88 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.855e-05/0.2708, allocations: 11.86 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.2709, allocations: 15.86 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.2714, allocations: 110.6 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.2716, allocations: 87.77 kB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2717, allocations: 25.56 kB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2719, allocations: 47.84 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.272, allocations: 55.7 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.272, allocations: 4 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.272, allocations: 15.98 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.2721, allocations: 23.92 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.2721, allocations: 39.73 kB / 433.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2724, allocations: 115.8 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2724, allocations: 0 / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2724, allocations: 0 / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2724, allocations: 4 kB / 434 MB, free: 3.73 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.0006308/0.273, allocations: 357.7 kB / 434.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.273, allocations: 12.03 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.2731, allocations: 42.73 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2732, allocations: 24.83 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.2736, allocations: 162.2 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2736, allocations: 12.38 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2736, allocations: 8.375 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.2741, allocations: 263.4 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2741, allocations: 0 / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2742, allocations: 4 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2742, allocations: 8 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2743, allocations: 55.89 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2747, allocations: 269.5 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.2749, allocations: 123.8 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.275, allocations: 66.55 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.275, allocations: 4.125 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.2751, allocations: 38.56 kB / 435.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.2751, allocations: 0 / 435.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004095/0.2755, allocations: 181.3 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.2756, allocations: 118.8 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2757, allocations: 162.1 kB / 435.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2758, allocations: 25.7 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.2758, allocations: 96.09 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2758, allocations: 24.03 kB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.2759, allocations: 37.7 kB / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2761, allocations: 326.8 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.2761, allocations: 31.98 kB / 436.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2763, allocations: 142.7 kB / 436.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.2765, allocations: 166.3 kB / 436.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2765, allocations: 0 / 436.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002888/0.2768, allocations: 181.2 kB / 436.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2768, allocations: 8 kB / 436.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2769, allocations: 4 kB / 436.9 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2769, allocations: 4 kB / 436.9 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.277, allocations: 31.92 kB / 436.9 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.277, allocations: 16.39 kB / 436.9 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.2771, allocations: 16 kB / 436.9 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2771, allocations: 8 kB / 436.9 MB, free: 420 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.000125/0.2772, allocations: 144.3 kB / 437.1 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.2774, allocations: 109.8 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.2775, allocations: 20.7 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2775, allocations: 4 kB / 437.2 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2775, allocations: 3.938 kB / 437.2 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2775, allocations: 480 / 437.2 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2777, allocations: 168.6 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2777, allocations: 4 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2778, allocations: 23.98 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2778, allocations: 0 / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2778, allocations: 7.938 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2778, allocations: 3.938 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2778, allocations: 3.938 kB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.2782, allocations: 261.1 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.2782, allocations: 23.89 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.2782, allocations: 4 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.2783, allocations: 11.94 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2784, allocations: 15.92 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2784, allocations: 4 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.2785, allocations: 115.2 kB / 437.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2785, allocations: 0 / 437.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2787, allocations: 23.94 kB / 437.9 MB, free: 15.4 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.0007439/0.2795, allocations: 0.8413 MB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2797, allocations: 104.1 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2797, allocations: 0 / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.2798, allocations: 11.98 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2802, allocations: 83.94 kB / 438.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2823, allocations: 1.875 MB / 440.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2824, allocations: 106.3 kB / 440.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.2824, allocations: 13.42 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.2825, allocations: 35.7 kB / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2825, allocations: 0 / 440.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.3127, allocations: 3.412 MB / 444.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.87, allocations: 3.938 kB / 444.3 MB, free: 8.836 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78998e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.18207545299083]