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.001354/0.001354, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001402/0.001402, allocations: 217.8 kB / 23 MB, free: 5.574 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.564/1.564, allocations: 230.2 MB / 256.2 MB, free: 8.516 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.84 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.388, allocations: 53.31 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003986/0.392, allocations: 1.796 MB / 431.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3935, allocations: 0.6194 MB / 432.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.3936, allocations: 7.938 kB / 432.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.413e-05/0.3937, allocations: 7.875 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3939, allocations: 15.8 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3943, allocations: 91.77 kB / 432.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3945, allocations: 91.7 kB / 432.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3947, allocations: 25.42 kB / 432.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3949, allocations: 55.78 kB / 432.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.395, allocations: 43.77 kB / 432.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.395, allocations: 12 kB / 432.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.3951, allocations: 12 kB / 432.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.3951, allocations: 27.91 kB / 432.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.3952, allocations: 43.69 kB / 432.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3955, allocations: 124.6 kB / 432.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3955, allocations: 0 / 432.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3955, allocations: 0 / 432.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3955, allocations: 0 / 432.8 MB, free: 4.598 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.000841/0.3963, allocations: 434.8 kB / 433.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3964, allocations: 12.03 kB / 433.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.3966, allocations: 24.83 kB / 433.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.397, allocations: 227.9 kB / 433.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.3971, allocations: 8.375 kB / 433.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3971, allocations: 12.38 kB / 433.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.3977, allocations: 273.2 kB / 433.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3977, allocations: 0 / 433.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3978, allocations: 4 kB / 433.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3978, allocations: 4 kB / 433.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.3979, allocations: 47.91 kB / 433.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.3985, allocations: 306.5 kB / 434.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3987, allocations: 123.6 kB / 434.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3989, allocations: 74.78 kB / 434.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.3989, allocations: 3.984 kB / 434.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.399, allocations: 46.55 kB / 434.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.399, allocations: 0 / 434.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005076/0.3995, allocations: 173.6 kB / 434.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.3996, allocations: 110.8 kB / 434.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3998, allocations: 154.2 kB / 434.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3998, allocations: 37.83 kB / 434.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.3999, allocations: 96.03 kB / 434.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.4, allocations: 19.89 kB / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.4, allocations: 37.7 kB / 434.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4002, allocations: 326.8 kB / 435.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.4003, allocations: 31.92 kB / 435.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.4004, allocations: 133.6 kB / 435.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4007, allocations: 178.3 kB / 435.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4008, allocations: 0 / 435.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003001/0.4011, allocations: 177.2 kB / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4011, allocations: 8.531 kB / 435.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4011, allocations: 8 kB / 435.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.4011, allocations: 4 kB / 435.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4012, allocations: 35.86 kB / 435.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.4013, allocations: 11.94 kB / 435.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.4013, allocations: 15.89 kB / 435.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.4014, allocations: 12 kB / 435.9 MB, free: 1.113 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.0001634/0.4015, allocations: 138.6 kB / 436 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.4017, allocations: 117.9 kB / 436.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.4018, allocations: 20.72 kB / 436.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4018, allocations: 96 / 436.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4018, allocations: 7.938 kB / 436.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4018, allocations: 7.922 kB / 436.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.4021, allocations: 193.6 kB / 436.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4021, allocations: 0 / 436.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.4022, allocations: 27.92 kB / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4022, allocations: 0 / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4022, allocations: 11.98 kB / 436.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4022, allocations: 0 / 436.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4022, allocations: 4 kB / 436.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.4026, allocations: 259.7 kB / 436.6 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4027, allocations: 108.9 kB / 436.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4027, allocations: 4 kB / 436.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.4028, allocations: 4 kB / 436.7 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4028, allocations: 7.875 kB / 436.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4028, allocations: 15.98 kB / 436.8 MB, free: 100 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.403, allocations: 119.2 kB / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.403, allocations: 0 / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.4032, allocations: 20 kB / 436.9 MB, free: 15.96 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.0001533/0.4034, allocations: 99.64 kB / 437 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.4037, allocations: 112.3 kB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4037, allocations: 0 / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.4037, allocations: 4 kB / 437.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.4042, allocations: 83.83 kB / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.4048, allocations: 274.2 kB / 437.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4051, allocations: 0.7241 MB / 438.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.4052, allocations: 9.422 kB / 438.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.4052, allocations: 15.44 kB / 438.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4052, allocations: 0 / 438.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005/0.4102, allocations: 1.292 MB / 439.5 MB, free: 13.3 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91973477602005]