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.001342/0.001342, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001419/0.001419, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.43/1.43, allocations: 230.4 MB / 254 MB, free: 15.02 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.001815/0.001815, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.37 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003119/0.1074, allocations: 1.768 MB / 428.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1085, allocations: 0.6193 MB / 428.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.1086, allocations: 7.938 kB / 428.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.1086, allocations: 11.86 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1088, allocations: 11.81 kB / 428.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.1092, allocations: 107.6 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1093, allocations: 87.77 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1094, allocations: 25.42 kB / 429 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1096, allocations: 51.8 kB / 429 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.1097, allocations: 51.75 kB / 429.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1097, allocations: 8 kB / 429.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.1097, allocations: 8 kB / 429.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1098, allocations: 31.86 kB / 429.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.1098, allocations: 47.66 kB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.11, allocations: 111.5 kB / 429.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.11, allocations: 3.984 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.11, allocations: 0 / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.11, allocations: 0 / 429.3 MB, free: 1.66 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.0005905/0.1106, allocations: 438.8 kB / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1107, allocations: 8.031 kB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.1107, allocations: 46.69 kB / 429.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1109, allocations: 24.83 kB / 429.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1111, allocations: 216.1 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1112, allocations: 16.38 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1112, allocations: 8.375 kB / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.1117, allocations: 265.8 kB / 430.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1117, allocations: 3.938 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1117, allocations: 4 kB / 430.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1117, allocations: 4 kB / 430.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1118, allocations: 47.97 kB / 430.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1122, allocations: 314.4 kB / 430.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1125, allocations: 128 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1126, allocations: 70.48 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1126, allocations: 4 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1127, allocations: 50.42 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.1127, allocations: 0 / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004163/0.1131, allocations: 169.6 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.1132, allocations: 126.9 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1133, allocations: 158.1 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1133, allocations: 25.7 kB / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1134, allocations: 96.12 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1134, allocations: 15.89 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.1135, allocations: 37.72 kB / 431.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1136, allocations: 322.8 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.1137, allocations: 31.97 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.1139, allocations: 137.3 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1141, allocations: 174.4 kB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1141, allocations: 0 / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000311/0.1144, allocations: 185.6 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1144, allocations: 8 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1144, allocations: 4 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1144, allocations: 4 kB / 432.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1146, allocations: 31.92 kB / 432.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1146, allocations: 7.938 kB / 432.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.1147, allocations: 11.98 kB / 432.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1147, allocations: 12 kB / 432.4 MB, free: 14.13 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.0001242/0.1148, allocations: 137.8 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.115, allocations: 117.9 kB / 432.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.115, allocations: 20.7 kB / 432.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.115, allocations: 4 kB / 432.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.115, allocations: 7.875 kB / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1151, allocations: 96 / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1153, allocations: 205.5 kB / 432.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1153, allocations: 4 kB / 432.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1154, allocations: 19.98 kB / 432.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1154, allocations: 4 kB / 432.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1154, allocations: 8 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1154, allocations: 4 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1154, allocations: 3.938 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1157, allocations: 251 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.1158, allocations: 112.9 kB / 433.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1158, allocations: 8 kB / 433.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.1159, allocations: 8 kB / 433.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.116, allocations: 7.922 kB / 433.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.116, allocations: 12 kB / 433.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.1161, allocations: 112.1 kB / 433.5 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1161, allocations: 0 / 433.5 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1163, allocations: 20 kB / 433.5 MB, free: 12.98 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.000779/0.1171, allocations: 0.8393 MB / 434.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1174, allocations: 108.8 kB / 434.4 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1174, allocations: 0 / 434.4 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.1174, allocations: 15.92 kB / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1179, allocations: 86.17 kB / 434.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1198, allocations: 1.856 MB / 436.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1202, allocations: 0.7202 MB / 437.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1202, allocations: 13.38 kB / 437.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.1203, allocations: 39.42 kB / 437.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1203, allocations: 0 / 437.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1457, allocations: 2.775 MB / 439.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.935, allocations: 11.92 kB / 439.9 MB, free: 6.379 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.78998e-05 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.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable upSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,upSample1.y,upSample2.y,add.y Variables in the result:time,add.u1,add.u2,add.y,sample1.y,sine.y [Calling sys.exit(0), Time elapsed: 10.666425304021686]