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.001318/0.001318, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001556/0.001556, allocations: 216.3 kB / 23.75 MB, free: 4.668 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001433/0.001433, allocations: 59.91 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2537, allocations: 53.35 MB / 431.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003069/0.2568, allocations: 1.788 MB / 432.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2579, allocations: 0.6155 MB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.258, allocations: 3.938 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.2581, allocations: 15.8 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.2582, allocations: 15.88 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.2586, allocations: 99.69 kB / 433.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2588, allocations: 87.77 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2589, allocations: 25.61 kB / 433.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2591, allocations: 51.8 kB / 433.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.2592, allocations: 59.69 kB / 433.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.2592, allocations: 8 kB / 433.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.251e-05/0.2592, allocations: 8 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.2593, allocations: 23.92 kB / 433.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2594, allocations: 51.66 kB / 434 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2596, allocations: 111.8 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2596, allocations: 0 / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2596, allocations: 0 / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2596, allocations: 0 / 434.1 MB, free: 3.84 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.0005629/0.2601, allocations: 361.7 kB / 434.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2602, allocations: 12.03 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.2602, allocations: 46.73 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2604, allocations: 24.83 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2606, allocations: 162.2 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2607, allocations: 12.31 kB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.2607, allocations: 20.31 kB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.2612, allocations: 259.4 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2612, allocations: 4 kB / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2612, allocations: 4 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2612, allocations: 0 / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.2613, allocations: 47.97 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.2617, allocations: 285.5 kB / 435.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.2619, allocations: 123.8 kB / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2621, allocations: 70.64 kB / 435.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2621, allocations: 8 kB / 435.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.2621, allocations: 46.48 kB / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2621, allocations: 0 / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004253/0.2626, allocations: 173.6 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.2626, allocations: 110.8 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2628, allocations: 159 kB / 436 MB, free: 1.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2628, allocations: 33.7 kB / 436 MB, free: 1.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2629, allocations: 96.08 kB / 436.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2629, allocations: 15.91 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.263, allocations: 37.7 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2631, allocations: 326.8 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.2632, allocations: 27.98 kB / 436.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2633, allocations: 141.1 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.2635, allocations: 174.4 kB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2635, allocations: 0 / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002911/0.2638, allocations: 177.6 kB / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2638, allocations: 12.09 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2639, allocations: 8 kB / 437 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2639, allocations: 4 kB / 437 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.264, allocations: 31.92 kB / 437 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.264, allocations: 11.94 kB / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.2641, allocations: 11.89 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2641, allocations: 12 kB / 437.1 MB, free: 0.5039 MB / 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.0001248/0.2642, allocations: 141.1 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2644, allocations: 129.9 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.2645, allocations: 16.72 kB / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2645, allocations: 96 / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2645, allocations: 11.88 kB / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2645, allocations: 3.984 kB / 437.4 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2647, allocations: 172.6 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2647, allocations: 0 / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2648, allocations: 23.98 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2648, allocations: 4 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2648, allocations: 7.984 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2648, allocations: 4 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.2648, allocations: 7.938 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.2651, allocations: 253 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.2652, allocations: 27.88 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2652, allocations: 8 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.2653, allocations: 4 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.2653, allocations: 7.938 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2654, allocations: 8 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.2654, allocations: 115.4 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2654, allocations: 0 / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.2657, allocations: 20 kB / 438 MB, free: 15.48 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.000805/0.2665, allocations: 0.8453 MB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2668, allocations: 104.5 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2668, allocations: 8.25 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.2668, allocations: 4 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2673, allocations: 83.84 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2695, allocations: 1.873 MB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.2698, allocations: 0.7161 MB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.2699, allocations: 17.42 kB / 441.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.2699, allocations: 39.42 kB / 441.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2699, allocations: 3.938 kB / 441.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3002, allocations: 2.985 MB / 444.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.29, allocations: 10.8 kB / 444.7 MB, free: 8.688 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample2.y from file Modelica_4.1.0_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.82234493299984]