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.001666/0.001666, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001431/0.001431, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.664/1.664, allocations: 230.3 MB / 258 MB, free: 8.246 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.002076/0.002076, allocations: 67.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003335/0.3885, allocations: 1.781 MB / 433.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3897, allocations: 0.6155 MB / 434.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.3898, allocations: 7.875 kB / 434.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.3899, allocations: 7.875 kB / 434.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.39, allocations: 19.86 kB / 434.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.3905, allocations: 99.64 kB / 434.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3907, allocations: 95.7 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3908, allocations: 28.56 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3909, allocations: 55.78 kB / 434.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.391, allocations: 51.7 kB / 434.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.391, allocations: 8 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.3911, allocations: 8 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.3912, allocations: 23.92 kB / 434.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.3912, allocations: 51.66 kB / 435 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3915, allocations: 119.1 kB / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3915, allocations: 0 / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3915, allocations: 4 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3915, allocations: 4 kB / 435.1 MB, free: 4.102 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.0006247/0.3921, allocations: 349.7 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3921, allocations: 12.03 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3923, allocations: 24.83 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3926, allocations: 170.9 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3926, allocations: 8.375 kB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3926, allocations: 8.375 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.3932, allocations: 276.9 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3932, allocations: 0 / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3932, allocations: 0 / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3932, allocations: 4 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3934, allocations: 51.91 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3937, allocations: 281.5 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.394, allocations: 127.8 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3941, allocations: 78.64 kB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3942, allocations: 0 / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3942, allocations: 42.48 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.82e-07/0.3942, allocations: 0 / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004382/0.3946, allocations: 177.6 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3947, allocations: 119.3 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3949, allocations: 154.2 kB / 436.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3949, allocations: 29.7 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.395, allocations: 100 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.395, allocations: 15.89 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.3951, allocations: 37.7 kB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3952, allocations: 326.8 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.3953, allocations: 27.98 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3955, allocations: 138.1 kB / 437.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.3957, allocations: 174.4 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3957, allocations: 0 / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003139/0.396, allocations: 185.5 kB / 438 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.396, allocations: 8 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3961, allocations: 4 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3961, allocations: 4 kB / 438 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3962, allocations: 31.92 kB / 438 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3962, allocations: 7.938 kB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.3963, allocations: 11.94 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3963, allocations: 12 kB / 438 MB, free: 0.8281 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.000146/0.3965, allocations: 148.7 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.3967, allocations: 117.5 kB / 438.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.3967, allocations: 16.72 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3967, allocations: 7.938 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3967, allocations: 0 / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3967, allocations: 3.938 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3969, allocations: 172.6 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3969, allocations: 4 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3971, allocations: 19.98 kB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3971, allocations: 8 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3971, allocations: 3.984 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3971, allocations: 4 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3971, allocations: 3.938 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3974, allocations: 253 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.3975, allocations: 35.91 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3975, allocations: 7.984 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.3976, allocations: 4 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3977, allocations: 7.938 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3977, allocations: 4.094 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.3978, allocations: 124 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3978, allocations: 0 / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.3981, allocations: 20 kB / 439 MB, free: 15.8 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.0001341/0.3982, allocations: 111.2 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3985, allocations: 99.77 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3985, allocations: 0 / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.3985, allocations: 13.06 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.399, allocations: 82.03 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.3995, allocations: 269.9 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3999, allocations: 0.724 MB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.4, allocations: 17.41 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4, allocations: 15.44 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4, allocations: 0 / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Templates: time 0.004501/0.4045, allocations: 1.317 MB / 441.6 MB, free: 13.11 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: 5.219516279175878]