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.001302/0.001302, allocations: 114 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 8.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.001894/0.001894, allocations: 59.89 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2493, allocations: 53.4 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003199/0.2525, allocations: 1.784 MB / 433 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2537, allocations: 0.6232 MB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2538, allocations: 7.938 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.2539, allocations: 11.86 kB / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.254, allocations: 7.875 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.2545, allocations: 107.6 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.2547, allocations: 87.7 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2548, allocations: 25.61 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.255, allocations: 47.86 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.2551, allocations: 55.7 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.2551, allocations: 8 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.151e-05/0.2552, allocations: 11.98 kB / 434 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.2552, allocations: 23.92 kB / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.2553, allocations: 51.66 kB / 434 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2555, allocations: 119.8 kB / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2555, allocations: 0 / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2555, allocations: 0 / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2556, allocations: 0 / 434.1 MB, free: 3.746 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.0005727/0.2561, allocations: 357.7 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2562, allocations: 8.031 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.2562, allocations: 46.73 kB / 434.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.2564, allocations: 24.83 kB / 434.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2567, allocations: 162.9 kB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2567, allocations: 12.38 kB / 434.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2567, allocations: 16.31 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.2572, allocations: 268.8 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2572, allocations: 0 / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2573, allocations: 4 kB / 435 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2573, allocations: 4 kB / 435 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2574, allocations: 51.91 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2578, allocations: 277.5 kB / 435.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.2581, allocations: 127.6 kB / 435.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.2582, allocations: 74.78 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.2583, allocations: 11.98 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2583, allocations: 34.56 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2583, allocations: 0 / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004367/0.2587, allocations: 177.5 kB / 435.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.2588, allocations: 118.8 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.259, allocations: 158.3 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.259, allocations: 25.7 kB / 436.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.2591, allocations: 96.09 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2591, allocations: 19.89 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.2592, allocations: 37.7 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2593, allocations: 322.8 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.2594, allocations: 27.98 kB / 436.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.2595, allocations: 141.9 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.2598, allocations: 178.3 kB / 436.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2598, allocations: 0 / 436.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003023/0.2601, allocations: 177.7 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2601, allocations: 12.03 kB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2601, allocations: 4 kB / 437.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2601, allocations: 4 kB / 437.1 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2603, allocations: 31.92 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.2603, allocations: 11.88 kB / 437.1 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.2603, allocations: 12 kB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2604, allocations: 8 kB / 437.1 MB, free: 428 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.0001281/0.2605, allocations: 148.4 kB / 437.3 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.2607, allocations: 117.9 kB / 437.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.2607, allocations: 20.81 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2607, allocations: 7.938 kB / 437.4 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2607, allocations: 3.938 kB / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2607, allocations: 0 / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.261, allocations: 176.6 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.261, allocations: 0 / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2611, allocations: 31.92 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2611, allocations: 0 / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2611, allocations: 3.984 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2611, allocations: 8 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2611, allocations: 3.938 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.2615, allocations: 252 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.2615, allocations: 23.89 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.2616, allocations: 11.98 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.2616, allocations: 8 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.2617, allocations: 11.88 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2617, allocations: 8 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2618, allocations: 116.1 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2618, allocations: 0 / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.2621, allocations: 24 kB / 438.1 MB, free: 15.39 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.0008125/0.2629, allocations: 0.8428 MB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.2632, allocations: 100.8 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2632, allocations: 4.062 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.2632, allocations: 11.98 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.2637, allocations: 83.34 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2658, allocations: 1.872 MB / 441 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.2662, allocations: 0.72 MB / 441.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.2663, allocations: 13.42 kB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.2663, allocations: 39.42 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2663, allocations: 0 / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.296, allocations: 2.985 MB / 444.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.41, allocations: 15.42 kB / 444.8 MB, free: 8.566 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: 13.934610565000185]