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.000816/0.000816, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008808/0.0008808, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.929/0.929, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 2.074e-06/2.074e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.747e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003698/0.003725, allocations: 1.763 MB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004803, allocations: 0.5686 MB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.00491, allocations: 11.94 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.004962, allocations: 7.875 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.005125, allocations: 19.78 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.005568, allocations: 103.6 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.005714, allocations: 99.69 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.005836, allocations: 21.62 kB / 327.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.006007, allocations: 63.75 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.006069, allocations: 35.88 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.006091, allocations: 8 kB / 327.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.006134, allocations: 12 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.006193, allocations: 31.84 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.006237, allocations: 31.91 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.006419, allocations: 111.6 kB / 327.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.006424, allocations: 4 kB / 327.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006426, allocations: 0 / 327.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.006432, allocations: 0 / 327.5 MB, free: 13.04 MB / 298.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.0004751/0.006907, allocations: 348.7 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.006958, allocations: 12.03 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.006995, allocations: 46.73 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.007121, allocations: 24.84 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.007374, allocations: 169.4 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.007399, allocations: 8.375 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.007415, allocations: 12.38 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.007803, allocations: 265.2 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.007812, allocations: 192 / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007825, allocations: 8.125 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007832, allocations: 4 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.00793, allocations: 59.89 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.008248, allocations: 265.5 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.008434, allocations: 127.9 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.008514, allocations: 70.5 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.008541, allocations: 7.984 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.008563, allocations: 38.56 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.008565, allocations: 0 / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003076/0.008872, allocations: 177.5 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.008944, allocations: 122.8 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.009046, allocations: 158.2 kB / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.009059, allocations: 25.7 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.009103, allocations: 100.1 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.009121, allocations: 11.91 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.009158, allocations: 25.7 kB / 329.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.009237, allocations: 318.8 kB / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.009274, allocations: 15.98 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.009315, allocations: 44.28 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.009391, allocations: 72.25 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.009393, allocations: 0 / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002725/0.009666, allocations: 109.4 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00968, allocations: 4.156 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.009686, allocations: 8 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009699, allocations: 0 / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.009759, allocations: 4 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.009766, allocations: 7.938 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.009797, allocations: 7.984 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.009812, allocations: 4 kB / 330.1 MB, free: 10.13 MB / 298.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 7.917e-05/0.009891, allocations: 125.8 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.01001, allocations: 126.1 kB / 330.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.01005, allocations: 20.78 kB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01005, allocations: 8 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01006, allocations: 4 kB / 330.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01006, allocations: 3.984 kB / 330.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.0102, allocations: 152.7 kB / 330.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01021, allocations: 7.938 kB / 330.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.01027, allocations: 23.92 kB / 330.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01028, allocations: 4 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01029, allocations: 7.984 kB / 330.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01029, allocations: 4 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01029, allocations: 0 / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.01049, allocations: 249 kB / 330.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.01054, allocations: 31.81 kB / 330.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01056, allocations: 7.984 kB / 330.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.0106, allocations: 4 kB / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.01063, allocations: 0 / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01064, allocations: 8 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.0107, allocations: 116.1 kB / 331 MB, free: 9.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 331 MB, free: 9.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.01088, allocations: 16 kB / 331 MB, free: 9.156 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.000507/0.01139, allocations: 0.8596 MB / 331.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01154, allocations: 67.91 kB / 331.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01154, allocations: 0 / 331.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.01156, allocations: 11.94 kB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.01191, allocations: 79.11 kB / 332 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.01318, allocations: 1.611 MB / 333.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.01328, allocations: 101.8 kB / 333.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.01333, allocations: 8.969 kB / 333.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.01341, allocations: 36.48 kB / 333.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of SimCode: time 1.904e-06/0.01341, allocations: 8 kB / 333.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.03369, allocations: 3.365 MB / 337.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.327, allocations: 10.08 kB / 337.1 MB, free: 2.969 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/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: 9.114382333122194]