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.001291/0.001291, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001352/0.001352, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001482/0.001482, allocations: 51.91 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003201/0.1056, allocations: 1.772 MB / 428.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1068, allocations: 0.6155 MB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1069, allocations: 3.938 kB / 428.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.107, allocations: 11.81 kB / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1072, allocations: 15.86 kB / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1076, allocations: 107.6 kB / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1078, allocations: 83.77 kB / 428.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1079, allocations: 25.42 kB / 429 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1081, allocations: 55.8 kB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.1082, allocations: 51.75 kB / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1082, allocations: 8 kB / 429.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.1082, allocations: 8 kB / 429.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1083, allocations: 27.86 kB / 429.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1084, allocations: 51.66 kB / 429.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1085, allocations: 107.5 kB / 429.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1085, allocations: 0 / 429.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1085, allocations: 0 / 429.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1086, allocations: 4 kB / 429.3 MB, free: 1.832 MB / 350.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.0005976/0.1092, allocations: 438.7 kB / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1092, allocations: 12.03 kB / 429.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.1092, allocations: 42.73 kB / 429.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1094, allocations: 24.83 kB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1097, allocations: 220.1 kB / 430 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.1097, allocations: 16.31 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1097, allocations: 12.38 kB / 430 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.1102, allocations: 265.8 kB / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1102, allocations: 0 / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1102, allocations: 0 / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.1102, allocations: 4 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1103, allocations: 47.97 kB / 430.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1107, allocations: 318.4 kB / 430.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.111, allocations: 127.8 kB / 430.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1111, allocations: 70.66 kB / 430.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1111, allocations: 7.984 kB / 430.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1111, allocations: 42.52 kB / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.22e-07/0.1111, allocations: 0 / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004511/0.1116, allocations: 177.5 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.1117, allocations: 114.9 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1118, allocations: 158.1 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1119, allocations: 33.7 kB / 431.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1119, allocations: 92.12 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1119, allocations: 15.91 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.112, allocations: 37.7 kB / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1121, allocations: 326.8 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.1122, allocations: 23.98 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1124, allocations: 138.5 kB / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.1126, allocations: 178.4 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1126, allocations: 0 / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002929/0.1129, allocations: 181.6 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1129, allocations: 8 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1129, allocations: 4 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1129, allocations: 4 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1131, allocations: 27.92 kB / 432.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1131, allocations: 11.94 kB / 432.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.1132, allocations: 11.94 kB / 432.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1132, allocations: 11.98 kB / 432.4 MB, free: 14.3 MB / 366.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.0001142/0.1133, allocations: 137.8 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.1135, allocations: 125.8 kB / 432.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1135, allocations: 16.72 kB / 432.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1135, allocations: 96 / 432.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1135, allocations: 11.88 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1135, allocations: 3.984 kB / 432.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1138, allocations: 197.6 kB / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1138, allocations: 0 / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1139, allocations: 23.98 kB / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1139, allocations: 3.984 kB / 432.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1139, allocations: 8 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1139, allocations: 4 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.1139, allocations: 7.938 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1142, allocations: 247 kB / 433.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.1143, allocations: 116.9 kB / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1143, allocations: 0 / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.1144, allocations: 16 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1144, allocations: 3.938 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1144, allocations: 7.984 kB / 433.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.1145, allocations: 120.1 kB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 0 / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1148, allocations: 20 kB / 433.4 MB, free: 13.14 MB / 366.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.0007715/0.1156, allocations: 0.8452 MB / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1158, allocations: 100.8 kB / 434.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1158, allocations: 8 kB / 434.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.1159, allocations: 12 kB / 434.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1163, allocations: 78.38 kB / 434.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1183, allocations: 1.867 MB / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1186, allocations: 0.7202 MB / 437.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.265e-05/0.1187, allocations: 17.5 kB / 437.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.1187, allocations: 35.42 kB / 437.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1187, allocations: 3.938 kB / 437.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.1439, allocations: 2.769 MB / 439.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.698, allocations: 8.844 kB / 439.9 MB, free: 6.562 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.230635888176039]