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.001735/0.001735, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002099/0.002099, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.432/1.432, allocations: 230.2 MB / 254.5 MB, free: 15.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.91 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09622, allocations: 53.31 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00291/0.09913, allocations: 1.774 MB / 428.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1002, allocations: 0.6077 MB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.1003, allocations: 3.938 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.1004, allocations: 7.875 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1005, allocations: 27.78 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1009, allocations: 95.77 kB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1011, allocations: 95.69 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1012, allocations: 17.45 kB / 429.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1013, allocations: 51.77 kB / 429.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.1014, allocations: 47.77 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1014, allocations: 8 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.1014, allocations: 12 kB / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1015, allocations: 27.84 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1016, allocations: 55.67 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1018, allocations: 111.5 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1018, allocations: 0 / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1018, allocations: 0 / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1018, allocations: 0 / 429.6 MB, free: 2.047 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.0005718/0.1023, allocations: 434.8 kB / 430 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1024, allocations: 8.031 kB / 430 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.1024, allocations: 46.73 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1026, allocations: 28.83 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1029, allocations: 220.1 kB / 430.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.1029, allocations: 8.375 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1029, allocations: 8.375 kB / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.1034, allocations: 269.8 kB / 430.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1034, allocations: 0 / 430.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1034, allocations: 4 kB / 430.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1034, allocations: 8 kB / 430.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1035, allocations: 55.84 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.1039, allocations: 310.4 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1041, allocations: 127.9 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1042, allocations: 66.66 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1043, allocations: 4 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1043, allocations: 42.48 kB / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.1043, allocations: 4 kB / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003908/0.1047, allocations: 169.4 kB / 431.4 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1048, allocations: 122.9 kB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1049, allocations: 158.1 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1049, allocations: 29.7 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.105, allocations: 92.14 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.105, allocations: 24.02 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1051, allocations: 37.7 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1052, allocations: 326.8 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1053, allocations: 23.98 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1054, allocations: 137.4 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1056, allocations: 174.3 kB / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1056, allocations: 0 / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002795/0.1059, allocations: 181.2 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1059, allocations: 8 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.1059, allocations: 4 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1059, allocations: 4 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1061, allocations: 36.45 kB / 432.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1061, allocations: 11.94 kB / 432.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.1061, allocations: 8 kB / 432.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1062, allocations: 12 kB / 432.7 MB, free: 14.52 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.0001128/0.1063, allocations: 137.7 kB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1065, allocations: 125.8 kB / 433 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.1065, allocations: 16.72 kB / 433 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1065, allocations: 4 kB / 433 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1065, allocations: 3.938 kB / 433 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1065, allocations: 4 kB / 433 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1067, allocations: 201.6 kB / 433.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1067, allocations: 0 / 433.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1068, allocations: 27.92 kB / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.1068, allocations: 0 / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1068, allocations: 7.984 kB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1068, allocations: 4 kB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1068, allocations: 3.938 kB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1071, allocations: 259.7 kB / 433.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.1072, allocations: 112.9 kB / 433.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1072, allocations: 4 kB / 433.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.1073, allocations: 4 kB / 433.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1074, allocations: 7.938 kB / 433.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1074, allocations: 4 kB / 433.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.1075, allocations: 120.1 kB / 433.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1075, allocations: 4 kB / 433.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1077, allocations: 20 kB / 433.8 MB, free: 13.36 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.0006949/0.1084, allocations: 0.8428 MB / 434.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1087, allocations: 103.8 kB / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1087, allocations: 0 / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.1087, allocations: 9.062 kB / 434.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1091, allocations: 82.25 kB / 434.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.111, allocations: 1.879 MB / 436.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1113, allocations: 0.7124 MB / 437.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.1114, allocations: 13.42 kB / 437.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.1114, allocations: 35.64 kB / 437.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1114, allocations: 4 kB / 437.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1368, allocations: 2.771 MB / 440.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.136, allocations: 11.97 kB / 440.3 MB, free: 6.762 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.6627574628219]