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.001765/0.001765, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001593/0.001593, allocations: 206.9 kB / 23.73 MB, free: 4.379 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.691/1.691, allocations: 230.6 MB / 257.5 MB, free: 7.797 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 53.36 MB / 431.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003405/0.3087, allocations: 1.75 MB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.31, allocations: 0.5726 MB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3101, allocations: 7.875 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.793e-05/0.3102, allocations: 11.86 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.3103, allocations: 11.88 kB / 433.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.3108, allocations: 114.6 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.311, allocations: 95.69 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3111, allocations: 21.62 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.3113, allocations: 47.84 kB / 434.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.3114, allocations: 47.77 kB / 434.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3114, allocations: 12 kB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.3114, allocations: 8 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.3115, allocations: 35.84 kB / 434.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3116, allocations: 31.8 kB / 434.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3118, allocations: 125.6 kB / 434.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3118, allocations: 4 kB / 434.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3118, allocations: 0 / 434.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3118, allocations: 0 / 434.5 MB, free: 3.676 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.0006184/0.3124, allocations: 349.8 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3125, allocations: 8.031 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3126, allocations: 28.83 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.313, allocations: 170.2 kB / 435 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.313, allocations: 8.375 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.313, allocations: 8.375 kB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.3136, allocations: 263.6 kB / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3136, allocations: 0 / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3136, allocations: 8 kB / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3136, allocations: 0 / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3138, allocations: 55.91 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.3141, allocations: 238.2 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3144, allocations: 127.6 kB / 435.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3145, allocations: 66.84 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3146, allocations: 7.938 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3146, allocations: 38.56 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3146, allocations: 0 / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004479/0.315, allocations: 177.6 kB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3151, allocations: 118.8 kB / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3153, allocations: 162.1 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3153, allocations: 29.7 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3154, allocations: 96.09 kB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3154, allocations: 15.89 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3155, allocations: 41.7 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3157, allocations: 318.8 kB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.3157, allocations: 31.92 kB / 436.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3159, allocations: 138.5 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.3161, allocations: 174.3 kB / 437.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3161, allocations: 0 / 437.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003131/0.3165, allocations: 177.4 kB / 437.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3165, allocations: 11.94 kB / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3165, allocations: 0 / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3165, allocations: 8 kB / 437.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3166, allocations: 39.91 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3166, allocations: 11.94 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.3167, allocations: 7.953 kB / 437.3 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.3168, allocations: 16.34 kB / 437.4 MB, free: 464 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.0001363/0.3169, allocations: 148.3 kB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3171, allocations: 113.6 kB / 437.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.3172, allocations: 20.7 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3172, allocations: 0 / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3172, allocations: 4 kB / 437.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3172, allocations: 0 / 437.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3174, allocations: 137.2 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3174, allocations: 4 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3175, allocations: 23.98 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3175, allocations: 7.938 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3175, allocations: 8.453 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3175, allocations: 4 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3175, allocations: 0 / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3179, allocations: 255.8 kB / 438.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.3179, allocations: 35.83 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.318, allocations: 3.984 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.3181, allocations: 8 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3181, allocations: 0 / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3181, allocations: 4 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3182, allocations: 127.2 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3182, allocations: 0 / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3185, allocations: 20 kB / 438.3 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.0001267/0.3186, allocations: 107.2 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3189, allocations: 100.5 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3189, allocations: 4.312 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.319, allocations: 8 kB / 438.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.3194, allocations: 75.91 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.32, allocations: 266.5 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.3201, allocations: 106.3 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.3201, allocations: 21.42 kB / 438.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3202, allocations: 15.44 kB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3202, allocations: 0 / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Templates: time 0.004663/0.3248, allocations: 1.439 MB / 440.4 MB, free: 13.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.781626021955162]