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.001609/0.001609, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002203/0.002203, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.621/1.621, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001623/0.001623, allocations: 47.86 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4049, allocations: 53.35 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003954/0.4088, allocations: 1.747 MB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4102, allocations: 0.5726 MB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.4103, allocations: 7.938 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.4104, allocations: 15.81 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.4105, allocations: 19.78 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.411, allocations: 103.7 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.4112, allocations: 95.69 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4114, allocations: 21.3 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.4116, allocations: 55.77 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.4116, allocations: 43.78 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.4117, allocations: 8 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.4117, allocations: 8 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.4118, allocations: 43.83 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.4119, allocations: 31.75 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.4121, allocations: 118.5 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4121, allocations: 0 / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4121, allocations: 0 / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4121, allocations: 0 / 435.2 MB, free: 3.82 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.0006954/0.4128, allocations: 353.7 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4129, allocations: 8.031 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.4131, allocations: 28.83 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.4134, allocations: 166.2 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.4135, allocations: 8.375 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.4135, allocations: 12.38 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.4141, allocations: 263.6 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4141, allocations: 0 / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4141, allocations: 4 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4141, allocations: 4 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.4143, allocations: 47.91 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.4147, allocations: 238.1 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.4149, allocations: 139.8 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4151, allocations: 66.61 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.4151, allocations: 7.984 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4151, allocations: 38.56 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.4151, allocations: 0 / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004644/0.4156, allocations: 173.6 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4157, allocations: 118.8 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.4159, allocations: 162.2 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4159, allocations: 29.7 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.416, allocations: 100.1 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.416, allocations: 23.83 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.4161, allocations: 33.72 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4162, allocations: 322.8 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.4163, allocations: 31.92 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4165, allocations: 130.6 kB / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.4167, allocations: 178.3 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4167, allocations: 0 / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002953/0.417, allocations: 181.5 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.417, allocations: 8 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.417, allocations: 4 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4171, allocations: 4 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4172, allocations: 35.92 kB / 438.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.4172, allocations: 4 kB / 438.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.4173, allocations: 15.94 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4173, allocations: 15.94 kB / 438.1 MB, free: 0.5938 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.0001299/0.4174, allocations: 137.9 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4176, allocations: 117.7 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.4177, allocations: 16.72 kB / 438.4 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4177, allocations: 4 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4177, allocations: 0 / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4177, allocations: 3.984 kB / 438.4 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4179, allocations: 137.2 kB / 438.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4179, allocations: 0 / 438.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.418, allocations: 31.92 kB / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.418, allocations: 0 / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.418, allocations: 4 kB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.418, allocations: 4 kB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.418, allocations: 0 / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.4184, allocations: 265.1 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.4184, allocations: 35.77 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.4185, allocations: 4 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.4186, allocations: 4 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.4186, allocations: 7.984 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4186, allocations: 4 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4187, allocations: 115.2 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4187, allocations: 0 / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.419, allocations: 27.94 kB / 439 MB, free: 15.62 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.0001354/0.4191, allocations: 103.2 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.4195, allocations: 107.8 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4195, allocations: 0 / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.4195, allocations: 16.05 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.42, allocations: 80.59 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.4205, allocations: 261.2 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.4207, allocations: 110.2 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.4207, allocations: 13.38 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.4208, allocations: 19.42 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4208, allocations: 0 / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004798/0.4256, allocations: 1.439 MB / 441.1 MB, free: 13.46 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 -s cvode -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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149367521997192]