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.001277/0.001277, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001465/0.001465, allocations: 215.4 kB / 23.73 MB, free: 4.406 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.002299/0.002299, allocations: 59.89 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.246, allocations: 53.39 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003521/0.2495, allocations: 1.759 MB / 432.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2508, allocations: 0.5649 MB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2509, allocations: 7.938 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.138e-05/0.251, allocations: 15.8 kB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.2511, allocations: 15.86 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.2516, allocations: 107.6 kB / 433.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.2518, allocations: 87.7 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2519, allocations: 27.25 kB / 433.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.252, allocations: 55.78 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.2521, allocations: 43.77 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2521, allocations: 4 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.2522, allocations: 16 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.2523, allocations: 27.91 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2523, allocations: 35.73 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2525, allocations: 115.4 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2525, allocations: 4 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2525, allocations: 0 / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2525, allocations: 0 / 434 MB, free: 3.566 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.0005708/0.2531, allocations: 353.7 kB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2532, allocations: 15.98 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.2532, allocations: 46.73 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2534, allocations: 24.83 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2537, allocations: 167 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.2537, allocations: 16.36 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.2537, allocations: 8.375 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.2543, allocations: 265.7 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2543, allocations: 0 / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2543, allocations: 8 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2543, allocations: 4 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2544, allocations: 47.97 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.2549, allocations: 277.5 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.2551, allocations: 123.9 kB / 435.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2552, allocations: 66.66 kB / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.2553, allocations: 4 kB / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2553, allocations: 38.5 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.614e-06/0.2553, allocations: 0 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004384/0.2557, allocations: 177.7 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.2558, allocations: 118.9 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.256, allocations: 158.1 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.256, allocations: 25.7 kB / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.2561, allocations: 96.09 kB / 436 MB, free: 1.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2561, allocations: 19.89 kB / 436 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.2561, allocations: 37.7 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2563, allocations: 330.8 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.2564, allocations: 24.11 kB / 436.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2565, allocations: 146.1 kB / 436.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2567, allocations: 162.4 kB / 436.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2568, allocations: 0 / 436.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003064/0.2571, allocations: 185.2 kB / 436.9 MB, free: 340 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2571, allocations: 8 kB / 436.9 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.2571, allocations: 7.984 kB / 436.9 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2571, allocations: 7.938 kB / 436.9 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2572, allocations: 32.45 kB / 437 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2572, allocations: 11.88 kB / 437 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.2573, allocations: 19.95 kB / 437 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2573, allocations: 8 kB / 437 MB, free: 244 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.0001273/0.2575, allocations: 144.5 kB / 437.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.2577, allocations: 113.7 kB / 437.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.2577, allocations: 20.72 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2577, allocations: 4 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2577, allocations: 3.938 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2577, allocations: 0 / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.2579, allocations: 164.6 kB / 437.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2579, allocations: 4 kB / 437.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.2581, allocations: 23.98 kB / 437.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2581, allocations: 3.984 kB / 437.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2581, allocations: 8 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2581, allocations: 0 / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2581, allocations: 7.875 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.2584, allocations: 253 kB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.2585, allocations: 27.89 kB / 437.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2585, allocations: 4 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.2586, allocations: 8.094 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.2586, allocations: 19.86 kB / 437.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2586, allocations: 4 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.2587, allocations: 120.1 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2587, allocations: 0 / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.259, allocations: 20 kB / 437.9 MB, free: 15.23 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.0007237/0.2597, allocations: 0.838 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.26, allocations: 107.8 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.26, allocations: 4 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.26, allocations: 11.98 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.2605, allocations: 84.06 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.2626, allocations: 1.865 MB / 440.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2627, allocations: 110.2 kB / 440.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.2627, allocations: 13.38 kB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.2628, allocations: 35.42 kB / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2628, allocations: 0 / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.2934, allocations: 3.37 MB / 444.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.39, allocations: 3.5 kB / 444.4 MB, free: 8.672 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.015792275313288]