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.0008271/0.0008271, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008371/0.0008371, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8591/0.8591, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.732e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002312/0.00233, allocations: 1.756 MB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.003079, allocations: 0.5764 MB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.003162, allocations: 3.938 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.003207, allocations: 7.875 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.003337, allocations: 23.78 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.003669, allocations: 103.6 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003793, allocations: 95.69 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003899, allocations: 17.62 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.004043, allocations: 75.69 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.004097, allocations: 35.89 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004118, allocations: 8 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.004162, allocations: 8 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.004217, allocations: 27.91 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.004255, allocations: 23.92 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.004421, allocations: 119.6 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004424, allocations: 0 / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004425, allocations: 0 / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00443, allocations: 0 / 327.4 MB, free: 13 MB / 298.7 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.0004402/0.00487, allocations: 353.7 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004909, allocations: 15.98 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.004946, allocations: 42.73 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.005055, allocations: 24.83 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.005268, allocations: 173.5 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.005289, allocations: 8.375 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005301, allocations: 8.375 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.005653, allocations: 262.9 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005661, allocations: 192 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005673, allocations: 12.12 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005678, allocations: 4 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.005765, allocations: 51.91 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.006043, allocations: 265.6 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.006205, allocations: 123.9 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.006287, allocations: 82.42 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.00631, allocations: 7.984 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.00633, allocations: 34.56 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.006332, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002787/0.00661, allocations: 177.8 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.006678, allocations: 118.8 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.006786, allocations: 162.2 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.006799, allocations: 29.7 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.006844, allocations: 96.09 kB / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.006864, allocations: 15.89 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.006898, allocations: 21.72 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.006977, allocations: 322.8 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.007011, allocations: 19.98 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.00705, allocations: 48.41 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.00712, allocations: 64.22 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007123, allocations: 0 / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00011/0.007233, allocations: 105.5 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007247, allocations: 8 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.007253, allocations: 3.984 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.007268, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.007324, allocations: 7.984 kB / 330 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.00733, allocations: 3.938 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.007356, allocations: 4 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.007364, allocations: 4 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 7.294e-05/0.007437, allocations: 121.8 kB / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.00756, allocations: 134 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.007593, allocations: 20.77 kB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007596, allocations: 0 / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.007601, allocations: 0 / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.007605, allocations: 4 kB / 330.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.007739, allocations: 160.7 kB / 330.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.007742, allocations: 3.938 kB / 330.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.007806, allocations: 31.92 kB / 330.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007808, allocations: 0 / 330.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.007818, allocations: 4 kB / 330.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.00782, allocations: 0 / 330.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007821, allocations: 7.938 kB / 330.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.008003, allocations: 253 kB / 330.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.008047, allocations: 31.8 kB / 330.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.008065, allocations: 8 kB / 330.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.008107, allocations: 0 / 330.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.008133, allocations: 4 kB / 330.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.008142, allocations: 15.98 kB / 330.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.008196, allocations: 112.1 kB / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008196, allocations: 0 / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.00836, allocations: 20 kB / 330.9 MB, free: 9.098 MB / 298.7 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.0004731/0.008833, allocations: 0.8456 MB / 331.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.008969, allocations: 67.95 kB / 331.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008972, allocations: 4 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.008992, allocations: 7.984 kB / 331.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.009318, allocations: 80.23 kB / 331.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.01064, allocations: 1.594 MB / 333.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.751e-05/0.0107, allocations: 105.8 kB / 333.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.277e-05/0.01074, allocations: 8.984 kB / 333.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.0108, allocations: 36.48 kB / 333.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0108, allocations: 0 / 333.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.03066, allocations: 3.364 MB / 337 MB, free: 2.926 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.812, allocations: 26.16 kB / 337.1 MB, free: 2.906 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/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: 8.536862584762275]