Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002101/0.003379, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002958, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.017/1.017, allocations: 173.3 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09735/1.114, allocations: 52.5 MB / 238.3 MB, free: 4.449 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.13e-05, allocations: 3.859 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002323/0.002345, allocations: 1.835 MB / 241.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.00307, allocations: 0.5373 MB / 241.9 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.003166, allocations: 3.938 kB / 241.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.003209, allocations: 7.875 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.003293, allocations: 23.8 kB / 242 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.003569, allocations: 95.62 kB / 242 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.003698, allocations: 91.7 kB / 242.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003802, allocations: 29.89 kB / 242.2 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.003934, allocations: 59.86 kB / 242.2 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.004006, allocations: 31.89 kB / 242.3 MB, free: 476 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.004035, allocations: 8 kB / 242.3 MB, free: 468 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.004052, allocations: 8 kB / 242.3 MB, free: 460 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.004107, allocations: 19.88 kB / 242.3 MB, free: 440 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.004148, allocations: 19.94 kB / 242.3 MB, free: 420 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.004293, allocations: 75.69 kB / 242.4 MB, free: 344 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.004304, allocations: 0 / 242.4 MB, free: 344 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004305, allocations: 0 / 242.4 MB, free: 344 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.004319, allocations: 0 / 242.4 MB, free: 344 kB / 234.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.0005467/0.004866, allocations: 351.9 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.0049, allocations: 15.97 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.004936, allocations: 12.94 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005107, allocations: 165.5 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.005129, allocations: 8.375 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.005141, allocations: 8.375 kB / 242.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.005411, allocations: 242 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005418, allocations: 192 / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.005427, allocations: 4.375 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005433, allocations: 3.938 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.00547, allocations: 27.86 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.005665, allocations: 173.9 kB / 243.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.005789, allocations: 99.81 kB / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.005832, allocations: 46.77 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.005859, allocations: 8 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005883, allocations: 34.56 kB / 243.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.005885, allocations: 0 / 243.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001694/0.006054, allocations: 109.7 kB / 243.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.006115, allocations: 118.8 kB / 243.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.006192, allocations: 146.6 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006204, allocations: 25.7 kB / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.006237, allocations: 103.9 kB / 244.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.006258, allocations: 15.94 kB / 244.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.006289, allocations: 25.66 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.006364, allocations: 326.9 kB / 244.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.006376, allocations: 4 kB / 244.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.0064, allocations: 32.3 kB / 244.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.746e-05/0.006448, allocations: 52.2 kB / 244.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00645, allocations: 0 / 244.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.446e-05/0.006525, allocations: 73.55 kB / 244.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.006539, allocations: 8 kB / 244.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006544, allocations: 0 / 244.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.006553, allocations: 3.938 kB / 244.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.00662, allocations: 11.98 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006624, allocations: 3.938 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.006649, allocations: 8 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.006654, allocations: 0 / 244.6 MB, free: 13.87 MB / 250.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.535e-05/0.006729, allocations: 120.7 kB / 244.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.006808, allocations: 85.75 kB / 244.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.00684, allocations: 16.78 kB / 244.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.006845, allocations: 11.91 kB / 244.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006847, allocations: 0 / 244.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.00685, allocations: 4 kB / 244.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.686e-05/0.006947, allocations: 85.81 kB / 244.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006949, allocations: 0 / 244.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.007023, allocations: 27.92 kB / 245 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.007061, allocations: 31.88 kB / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.007063, allocations: 0 / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.00707, allocations: 4 kB / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007073, allocations: 7.938 kB / 245 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007074, allocations: 0 / 245 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.007153, allocations: 141.3 kB / 245.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.00717, allocations: 7.984 kB / 245.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.007211, allocations: 8 kB / 245.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.007232, allocations: 7.875 kB / 245.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.007239, allocations: 4 kB / 245.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.619e-05/0.007265, allocations: 35.66 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007265, allocations: 3.938 kB / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.007403, allocations: 16 kB / 245.2 MB, free: 13.21 MB / 250.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 8.557e-05/0.007488, allocations: 88.45 kB / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.007578, allocations: 48.72 kB / 245.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.007582, allocations: 0 / 245.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.007592, allocations: 8.859 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.007849, allocations: 76.69 kB / 245.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.008604, allocations: 269.7 kB / 245.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.008645, allocations: 75.33 kB / 245.8 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.008672, allocations: 8.969 kB / 245.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.008731, allocations: 63.36 kB / 245.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008731, allocations: 4 kB / 245.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of Templates: time 0.003075/0.01181, allocations: 1.313 MB / 247.2 MB, free: 11.23 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5392091451212764]